R windows FAQ (PR#1733)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Tue, 2 Jul 2002 23:04:35 +0100 (BST)


On Tue, 2 Jul 2002 Kevin.Wright@pioneer.com wrote:

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

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?
Unless something went wrong in your Tcl/Tk installation, they will be in
your path, so why put them in a second time?

Where is the bug?

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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