[R] demo(tkttest) exits with error messages
Peter Dalgaard BSA
p.dalgaard at pubhealth.ku.dk
Sat Feb 10 12:47:22 CET 2001
Prof Brian D Ripley <ripley at stats.ox.ac.uk> writes:
...
> For package tcltk to work (try `demo(tkdensity)' or `demo(tkttest)')
> you need to have Tcl installed. Download `tcl832.exe' (or use
> `tcl831.exe' if you already have it) from <dev.scriptics.com> and
> install it. (That will put the `bin' directory containing the Tcl and
> Tk DLLs in your path). You then need to set the environment variable
> `TCL_LIBRARY', to something like `c:/Program Files/Tcl/lib/tcl8.3'.
> (The startup code for the package will warn you if this is unset, and
> Q3.2 explains how to set them. NB: do not quote the path, even if as
> here it contains spaces.)
>
>
> There has been discussion of this on the list several times, and the
> information is also in CHANGES. But I think it is precisely what FAQs are
> for!
BTW, last I played with this, I found that the following worked nicely
from inside R (can be useful if you have no access to the system
startup files).
Sys.putenv("TCL_LIBRARY"="c:/Program Files/Tcl/lib/tcl8.3")
What *is* the recommended way of setting environment variables on
Windows anyway?
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
mailing list