[R] Problems with tcltk package

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Sep 23 16:40:55 CEST 2002


"Juan Ramon Gonzalez" <jrgonzalez at ico.scs.es> writes:

> Hello listers,
> 
> I have installed Tcl/Tk v8.4 on my system (Win XP, R 1.5.1). When I try to
> load the Tcl/Tk package I get this error:
> 
> > library(tcltk)
> Error in firstlib(which.lib.loc, package) :
>         TCL_LIBRARY is not set
> Error in library(tcltk) : .First.lib failed
> 
> Can someone help me, please?

I believe that the Windows version has 8.3 hardcoded in a couple of
places, so downgrading might help... However, you still need to take
the hint and set TCL_LIBRARY, as outlined in the Windows FAQ, and
likely adjust your PATH too.

(The Tcl 8.4 release announcement was only last week, so as far as I
know there has been zero compatibility testing...)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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