[R] Library Tcltk

tlorino@vet-alfort.fr tlorino at vet-alfort.fr
Fri May 31 09:57:11 CEST 2002


Dears users,

Thanks for your responses concerning my question of yesterday (about stand-alone
package). Il would like to explore two ways:
-- Tcltk extension,
-- Rweb application.

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?

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

Thank you for your help,
Tristan Lorino
---------------------- 
École Nationale Vétérinaire d'Alfort - http://www.vet-alfort.fr,
Tél. 01 43 96 70 33
Mél. tlorino at vet-alfort.fr
Site personnel : http://daedale.free.fr

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