[R] tcltk library

Dilip N. Thadani thadani at tkk.att.ne.jp
Mon Dec 25 15:46:36 CET 2000


R version 1.2
OS Window NT 4.0 Service Pack 6.0

I downloaded tcl.tck 8.3.2 from http://www.scriptics.com  I also set the
TCL_LIBRARY variable in my environment.

However when I try to load the tcltk library in R this is what happens:-

> library(tcltk)
Error in firstlib(which.lib.loc, package) :
        Can't find a usable init.tcl in the following directories:
    {"F:/Program Files/Tcl/lib/tcl8.3"} {}



This probably means that Tcl wasn't installed properly.
Error in library(tcltk) : .First.lib failed

Why is this happening?  I also tried setting TCL_LIBRARY to the top level
directory, i.e F:/Program Files/Tcl   but R still cannot seem to load this
library.  The file init.tcl is present in
F:/Program Files/Tcl/lib/tcl8.3.
Can someone shed some light on this?

Thanks in advance

Dilip


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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