I have never seen that before. It has been independently verified that gsubfn works on Fedora Red Hat as you can see here:
http://cran.r-project.org/web/checks/check_results_gsubfn.html The message about Tcl/Tk in your log suggests that there is something wrong with your version of R itself. See FAQ2: http://code.google.com/p/gsubfn/#FAQs Given that its been independently verified to install properly on fedora red hat and that your log shows that your version of R is broken you may need to get a proper version of R. The following things may not be sufficient given the above but you could try it just in case: options(gsubfn.engine = FALSE) install.packages("gsubfn") # do NOT use dep=TRUE Let me know when you resolve it so we can add something to the FAQ. Regards. On Fri, Aug 24, 2012 at 2:45 AM, Divya Kakkillaya B <divya_...@infosys.com> wrote: > Hi, > > I am getting the follwoing error while installing gsubfn_0.6-4.tar.gz > library for R. R version is 2.15.1 and i am installing on Redhat linux > version 2.6.18-238.9.1.el5 > (mockbu...@x86-002.build.bos.redhat.com<mailto:mockbu...@x86-002.build.bos.redhat.com>) > (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) > > > > * installing to library â/home/mapred/installables/R/libraryâ > * installing *source* package âgsubfnâ ... > ** package âgsubfnâ successfully unpacked and MD5 sums checked > ** R > ** demo > ** inst > ** byte-compile and prepare package for lazy loading > Warning: S3 methods â$.tclvarâ, â$<-.tclvarâ, âas.character.tclObjâ, > âas.character.tclVarâ, âas.double.tclObjâ, âas.integer.tclObjâ, > âas.logical.tclObjâ, âas.raw.tclObjâ, âprint.tclObjâ, â[[.tclArrayâ, > â[[<-.tclArrayâ, â$.tclArrayâ, â$<-.tclArrayâ, ânames.tclArrayâ, > ânames<-.tclArrayâ, âlength.tclArrayâ, âlength<-.tclArrayâ, âtclObj.tclVarâ, > âtclObj<-.tclVarâ, âtclvalue.defaultâ, âtclvalue.tclObjâ, âtclvalue.tclVarâ, > âtclvalue<-.defaultâ, âtclvalue<-.tclVarâ, âclose.tkProgressBarâ were > declared in NAMESPACE but not found > Error : .onLoad failed in loadNamespace() for 'tcltk', details: > call: fun(libname, pkgname) > error: Tcl/Tk support is not available on this system > Error : package/namespace load failed for âtcltkâ > Error : unable to load R code in package âgsubfnâ > ERROR: lazy loading failed for package âgsubfnâ > > > > Regards, > Divya > > **************** CAUTION - Disclaimer ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely > for the use of the addressee(s). If you are not the intended recipient, please > notify the sender by e-mail and delete the original message. Further, you are > not > to copy, disclose, or distribute this e-mail or its contents to any other > person and > any such actions are unlawful. This e-mail may contain viruses. Infosys has > taken > every reasonable precaution to minimize this risk, but is not liable for any > damage > you may sustain as a result of any virus in this e-mail. You should carry out > your > own virus checks before opening the e-mail or attachment. Infosys reserves the > right to monitor and review the content of all messages sent to or from this > e-mail > address. Messages sent to or from this e-mail address may be stored on the > Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.