[R] tcltk for windows
mark at myatt.demon.co.uk
Mon Nov 5 11:34:16 CET 2001
Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
>See the rw-FAQ, question 3.6.
>> I installed R-1.3.1 for Windows and tried to use tcltk interface and got an
>error message like
>> > library(tcltk)
>> Error in firstlib(which.lib.loc, package) :
>> TCL_LIBRARY is not set
>> Error in library(tcltk) : .First.lib failed
>> I then proceed to install tcltk for windows assuming the problem has something
>to do with it. The same message appears after installation of tcltk.
The FAQ is not particularly thorough on this. You do need to set the
TCL_LIBRARY environment variable to point to the TCL libraries:
But you also need to put TCL's BIN directory on the MSDOS / Windows
before trying library(tcltk).
I suppose the confusion arises because TCL/TK is usually installed and
on the path on UNIX (and derivative) boxes.
The FAQ is wrong to state that the installer for ActiveTCL "will put the
bin directory containing the Tcl and Tk DLLs in your path". It does not
on my Win98 box.
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