You need to reinstall R and compile with tcl/tk support (best is to use
R-2.10.1 nowadays since yours is already outdated).
Best,
Uwe Ligges
On 22.01.2010 08:13, ??? wrote:> Hi, Dear all,
>
> i encounted a problem with tcl/tk installation
> actually i want to install q-value package
> i use the R CMD INSTALL command:
> [root at bioinfo ~]# R CMD INSTALL qvalue_1.20.0.tar.gz
> * Installing to library ???usr/local/lib64/R/library???
> * Installing *source* package ???qvalue???...
> ** R
> ** data
> ** inst
> ** preparing package for lazy loading
> Error in firstlib(which.lib.loc, package) :
> Tcl/Tk support is not available on this system
> Error : package 'tcltk' could not be loaded
> ERROR: lazy loading failed for package ???qvalue???
> * Removing ???usr/local/lib64/R/library/qvalue???
> i do some search work with google, suggest i need to install tcl and tk at
> system level
> i download the source tcl and tk from sourceforge and installed them:
> [root at bioinfo ~]# tclsh
> % info patchlevel
> 8.4.13
> %
> i uninstall R package with make uninstall and make distclean,then reinstall
> R
> but the problem stills occurs
> i am using Redhat enterprise linux 5 x64 version
> packages metioned above are listed follow:
> R-2.9.2.tar.gz
> tcl8.5.8-src.tar.gz
> tk8.5.8-src.tar.gz
> qvalue_1.20.0.tar.gz
>
> any commments would be very appeciated:)
> thank you in advance:)
>
>
>
>
>
> ______________________________________________
> R-help at 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.