R windows FAQ (PR#1733)

dmurdoch@pair.com dmurdoch@pair.com
Wed, 3 Jul 2002 01:10:29 +0200 (MET DST)

On Tue, 2 Jul 2002 23:04:35 +0100 (BST), you wrote:
>> Sys.putenv("TCL_LIBRARY"="c:/Tcl/lib/tcl8.3")
>> Sys.putenv("PATH"=paste(Sys.getenv("PATH"),
>>                         ";c:\\tcl\\bin;",
>>                         Sys.getenv("R_HOME"),
>>                         "\\library\\tcltk\\libs",sep=""))
>Why do you need that?  In particular, why do you need
>.../library/tcltk/libs in the PATH?
>Both the README and the FAQ already tell you to put the Tcl/Tk DLLs in
>the your path, so why does the information need to be repeated?

I think this should be seen as an alternative way to put them in your
path.  Windows documentation is very unclear about how to get
something put into your path.

For example, on my system, tcl is not in my path; I "installed" Tcl/Tk
by just copying the whole directory from another system.  The
Sys.putenv commands make it work.

Duncan Murdoch

r-devel 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-devel-request@stat.math.ethz.ch