R windows FAQ (PR#1733)

Kevin.Wright@pioneer.com Kevin.Wright@pioneer.com
Tue, 2 Jul 2002 23:49:50 +0200 (MET DST)


Full_Name: Kevin Wright
Version: 1.5.1
OS: Windows 95
Submission from: (NULL) (170.54.59.160)


In the R windows FAQ, item 3.6 (Package TclTk does not work) currently has this
line:

  Sys.putenv("TCL_LIBRARY"="c:/Program Files/Tcl/lib/tcl8.3")

I find that if I execute the following two lines after starting R, I can then do
library(tcltk) and demo(tkdensity) as usual.  I do not need to modify my
autoexec.bat this way!

Anyway, using the following two lines in the FAQ might be useful to some
people.

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=""))

Humbly (and aplogies for any incorrect terminology)

Kevin Wright


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