[R] Help on tcl/tk package installation

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Jan 23 17:42:38 CET 2010



On 23.01.2010 01:35, 李道丰 wrote:
> Hi,
>
> how to compile with tcl/tk support ? command line options?
> thank you:)

There is a manual called "R Installation and Administration" you are 
obviously not aware of (probably because you never read the posting 
guide of the mailing list). That manual contains a section (cuurently 
Appendix A.2.1) "Tcl/Tk" ...

Best wishes,
Uwe Ligges




>
> 2010/1/22 Uwe Ligges<ligges at statistik.tu-dortmund.de>
>
>> 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<http://www.r-project.org/posting-guide.html>
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>
>



More information about the R-help mailing list