R windows FAQ (PR#1733)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Wed, 3 Jul 2002 08:14:11 +0200 (MET DST)


On Tue, 2 Jul 2002, Duncan Murdoch wrote:

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

.../library/tcltk/libs should not be in the PATH: it's misinformation.

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

Well, a correct command would be better.

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