[R] Using Tcl/Tk on Windows

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Aug 6 16:15:11 CEST 2002



Eric Lecoutre wrote:
> 
> Hello,
> 
> I would like to try Tcl/Tk library on Windows.
> I installed ActiveTCL 8.3.4.3 and add the environment variable TCL_LIBRARY
> linking to the directory of installation.
> 
> When I load the Tcl/Tk package, I have the following error:
> 
> +--------------------------------------------------------------+
> Error in firstlib(which.lib.loc, package) :
>          Can't find a usable init.tcl in the following directories:
>      {d:\TCL}
> 
> This probably means that Tcl wasn't installed properly.
> Error in library(pkg, character.only = TRUE) :
>          .First.lib failed
> +--------------------------------------------------------------+
> Effectlively, there is no such file in the directory where I installed
> ActiveTCL 8.3.
> 
> I am working on Windows 2000, with R 1.5 and ActiveTCL 8.3.
> 
> Is there something I missed?

Yes: TCL_LIBRARY means the library path of tcl, as the names suggests. I
guess, in your case, it should be set to d:\tcl\lib\tcl8.3 in which the
mentioned file exists.

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