[R] TclTk

John Zhang jzhang at jimmy.harvard.edu
Tue Sep 17 19:32:10 CEST 2002


>From: Ricardo Gonçalves Da-Silva <ricardogs at terra.com.br>
>To: <r-help at stat.math.ethz.ch>
>Subject: [R] TclTk
>Date: Sun, 15 Sep 2002 23:37:18 -0300
>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>
>Dear Users
>I know this problem has already been treated here, but I was unable to find
>the answer.
>When I try to load the tcltk I receive the message:
>
>Error in firstlib(which.lib.loc, package) :
>        TCL_LIBRARY is not set
>Error in library(pkg, character.only = TRUE) :
>        .First.lib failed
>
>How can I fix this bug?
>R 1.5.1 for Windows running on a XP plat.

You have to set your environmental variables. On Windows 2000, I go to 
start->Settings->Control Panel->System->Advanced->Environmental Variables and 
set the System variables to:

Path			C:\tcl\bin
TCL_LIBRARY		C:\tcl\lib\tcl8.3

Given that your have tcl8.3 installed in C:\tcl. I do not know how to do the 
equivalence in XP though.


>Thanks.
>Ricardo Gonçalves Silva
>Universidade de São Paulo-USP
>Instituto de Ciências Matemáticas-ICMC
>Departamento de Estatística
>www.icmc.usp.br/~ricardo
>www.macroeconometrics.hpg.com.br
>
>
>
>---
>
>
>
>
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>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
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


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