Dear all, I want to use GraspeR (on R 1.6.0) and have to install tcltk library. When I try to do this, I get back this error message: Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in library(pkg, character.only = TRUE) : .First.lib failed But I have a tcl/tk package (Active TCL 8.4.1.0) correctly install on my PC (Win95) and in the autoexec.bat the path for "bin" and "lib" . So where am I wrong?? Thanks for advance. With very best regards, Erik. ===========================================Erik-Andr? SAULEAU SEAIM H?pital du Hasenrain BP 1070 87, Avenue de Altkirch 68051 MULHOUSE C?dex Tel: 03-89-64-79-95 Fax: 03-89-64-79-71 M?l: sauleauea at ch-mulhouse.fr Web: http://www.ch-mulhouse.fr =========================================== ************************************************************************************ Afin d'?viter toute propagation de virus informatique, et en compl?ment des dispositifs en place, ce message (et ses pi?ces jointes s'il y en a) a ?t? automatiquement analys? par un antivirus de messagerie. ***********************************************************************************
You have to install the previous version of Active Tcl/Tk : 8.3.5.0. A.S. ---------------------------- |------------------------------------+------------------------------------| |Alessandro Semeria |Tel. +39 544 536811 | |------------------------------------+------------------------------------| |Models and Simulation Laboratory |Fax. +39 544 538663 | |------------------------------------+------------------------------------| |The Environment Research Center - | | |Montecatini (Edison Group), Via | | |Ciro Menotti 48, |E-mail: asemeria at cramont.it | |48023 Marina di Ravenna (RA), Italy | | |------------------------------------+------------------------------------|
SAULEAU Erik-Andr? wrote:> Dear all, > > I want to use GraspeR (on R 1.6.0) and have to install tcltk library. When > I try to do this, I get back this error message: > > Error in firstlib(which.lib.loc, package) : > TCL_LIBRARY is not set > Error in library(pkg, character.only = TRUE) : > .First.lib failed > > But I have a tcl/tk package (Active TCL 8.4.1.0) correctly install on my PC > (Win95) and in the autoexec.bat the path for "bin" and "lib" . So where am I > wrong?? > > Thanks for advance. With very best regards, > > ErikSee the R for Windows FAQ 3.6 "Package TclTk does not work." (I guess you are on Windows) Uwe Ligges
Wrong version of tcl/tk: see the rw-FAQ. You can build R-1.6.2 (but not earlier) and the packages to use 8.4.x, but you will have to do it yourself. On Wed, 5 Feb 2003, SAULEAU Erik-Andr? wrote:> Dear all, > > I want to use GraspeR (on R 1.6.0) and have to install tcltk library. When > I try to do this, I get back this error message: > > Error in firstlib(which.lib.loc, package) : > TCL_LIBRARY is not set > Error in library(pkg, character.only = TRUE) : > .First.lib failed > > But I have a tcl/tk package (Active TCL 8.4.1.0) correctly install on my PC > (Win95) and in the autoexec.bat the path for "bin" and "lib" . So where am I > wrong??-- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595