[R] tcltk

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sun Jun 17 02:08:38 CEST 2001


°¨¥ÉÅï <bv5dd.ma at msa.hinet.net> writes:

> Dear Sir,
>     Would you mind to give me some hints to solve this error? I have the
> tcl832 installed on Windows 98.
> 
> 
>      demo(tkttest)
> 
> 
>         demo(tkttest)
>         ---- ~~~~~~~
> 
> Type  <Return>   to start :
> 
> > require(tcltk) || stop("tcltk support is absent")
> Loading required package: tcltk
> Error in firstlib(which.lib.loc, package) :
>         TCL_LIBRARY is not set
> Error in eval.with.vis(expr, envir, enclos) :
>         tcltk support is absent
> 
> Thanks In Advances
>                                                             Patrick
> Yuk-lun Ma

One way is to execute Sys.putenv("TCL_LIBRARY"="/wherever/you put/it")

Another is to set this permanently in the configuration files for R,
which I don't use W98 often enough to remember how to do, but detailed
instructions sit in the rw-faq that you got with the program.

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