Hello... I'm having problems getting the "tcltk" package to run within a recently installed version of R (R1.10 for Windows95).>library(tcltk)Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in library(tcltk) : .First.lib failed>Having little experience with R, I apologize for the simplicity of this question. Jason Fisher stormplot at hotmail.com ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I would bet that TCL_LIBRARY is not set as the error suggest. That is it's not set in your environnement. Just set it to the proper value drive:\path and you should be in bussness. YG ----- Original Message ----- From: "Jason Fisher" <stormplot at hotmail.com> To: <r-help at hypatia.math.ethz.ch> Sent: Thursday, July 20, 2000 12:32 PM Subject: [R] tcltk_package> Hello... > > I'm having problems getting the "tcltk" package to run > within a recently installed version of R (R1.10 for Windows95). > > >library(tcltk) > Error in firstlib(which.lib.loc, package) : > TCL_LIBRARY is not set > Error in library(tcltk) : .First.lib failed > > > > Having little experience with R, I apologize for the > simplicity of this question. > > Jason Fisher > stormplot at hotmail.com > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-> r-help mailing list -- Readhttp://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 >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 20 Jul 2000, Jason Fisher wrote:> Hello... > > I'm having problems getting the "tcltk" package to run > within a recently installed version of R (R1.10 for Windows95). > > >library(tcltk) > Error in firstlib(which.lib.loc, package) : > TCL_LIBRARY is not set > Error in library(tcltk) : .First.lib failed>From the CHANGES file:Optional support for the Tcl/Tk interface. To use this you need to install tcl831.exe from dev.scriptics.com, and you will need the Tcl and Tk dlls in your path. Also, you need to set the environment variable TCL_LIBRARY, to something like c:/Program Files/Tcl/lib/tcl8.3. The demos(tk*) will work on Windows. How you set environment variables is Windows-system-specific, but you can set this on the command line or in a .Renviron file on any Windows system. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._