[R] Telling tcltk where tcl is?
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Sat Mar 24 12:36:29 CET 2001
Bjørn-Helge Mevik <bhm at math.uio.no> writes:
> The installation of R I'm using (R 1.2.0 on Redhat Linux
> (R-base-1.2.0-2.i386.rpm)) apparently expects to find tcl in
> ./share/tcl8.0, ./share/tcl8.0 or /usr/local/share/tcl8.0:
>
> > library (tcltk)
> Error in firstlib(which.lib.loc, package) :
> Can't find a usable init.tcl in the following directories:
> ./share/tcl8.0 ./share/tcl8.0 /usr/local/share/tcl8.0
>
> However, tcl is installed in /usr/lib/tcl8.0 on my machine. Is there a way
> to tell R or tcltk where tcl is located?
>
> (I'm sorry if this is a faq -- I've gone through all documentation I've
> found, but I still couldn't find out about it.)
It isn't. It's not supposed to happen...
Does your .rpm match your RedHat version?
You might consider getting a recent version off of CRAN or compiling
from sources. It might also work to set the environment variable
TCL_LIBRARY to the proper location on your system.
In either case it would be good for us to know the origin of your
setup in case anyone else gets in trouble.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list