[R] Using Tcl/Tk on Windows

Eric Lecoutre lecoutre at stat.ucl.ac.be
Tue Aug 6 16:01:41 CEST 2002


I would like to try Tcl/Tk library on Windows.
I installed ActiveTCL 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:

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?

Eric Lecoutre

(note: I first downloaded ActiveTCL 8.4 beta, which would not work as the 
searched DLL is called tk83.dll and the one with this distribution is tk84.dll)


Eric Lecoutre         Informaticien / Statisticien
Institut de Statistique                        UCL

                               (+32) (0)10 47 30 50
                            lecoutre at stat.ucl.ac.be

Le vrai danger, ce n'est pas quand les ordinateurs
penseront comme des hommes, c'est quand les hommes
penseront comme des ordinateurs.     Sydney Harris

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