[R] Library Tcltk

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri May 31 10:16:33 CEST 2002


1) You appear to be working on Windows, but failed to say so.

2) Your first question is answered in both the rw-FAQ *and* the README, so
I presume you have not read them (although you quote a non-existent
`Win-FAQ').  Please do so, completely and carefully.

3) Your second question is covered by the demos in package tcltk (and that
is covered in the documentation mentioned above).


On Fri, 31 May 2002 tlorino at vet-alfort.fr wrote:

> I have installed ActiveTcl (in F:\Tcl), and I have modified the PATH (in the
> autoexec.bat file):
>
> set R_LIBS=F:\R\rw1050\library
> set PATH=%PATH%;F:\Tcl\bin
> set PATH=%PATH%;F:\Tcl\lib
> set PATH=%PATH%;F:\R\rw1050\bin
>
> (I'm working with W2000, but the autoexec.bat is active: I could be sure of
> this fact because changes in the autoexec.bat are taken into account, for
> example variables for Latex as: set TEX=latex)
>
> As written in the Win-FAQ of R, when I enter Sys.getenv("PATH"), I can read:
> "F:\\Program Files\\TeXLive\\bin\\win32;C:\\Ghostgum\\gsview;c:\\jdk1.3\\bin;F:\\Tcl\\bin;F:\\Tcl\\lib"
> so Tcl seems to be in my PATH...
>
> After that, when I load the Tcltk library, I have this error message:
>
> Error in firstlib(which.lib.loc, package) :
>         TCL_LIBRARY is not set
> Error in library(tcltk) : .First.lib failed
>
> Is that a problem of the Tcl package installation? What is wrong?

Failure to read the rest of the paragraph in rw-FAQ ....

> Another question: has anybody some example of things realized with
> Tcltk and R?

-- 
Brian D. Ripley,                  ripley at 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-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