Re: [R] demo(tkttest) exits with error messages

About this list Date view Thread view Subject view Author view

From: Peter Dalgaard BSA (p.dalgaard@pubhealth.ku.dk)
Date: Sat 10 Feb 2001 - 21:47:22 EST


Message-ID: <x2pugqwyid.fsf@blueberry.kubism.ku.dk>

Prof Brian D Ripley <ripley@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@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:32 EST