[R] TclTk problems

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu May 10 16:29:18 CEST 2001

Giulio Cozzi <cozzig at unive.it> writes:

> Dear R-Users
> I'm running SuseLinuxPPC 7.1 and R 1.2.3 installed by sources. I've
> tried to run the demo for Tk (tkdensity e.g.) but R says
> " > require(tcltk) || stop("tcltk support is absent")
> Loading required package: tcltk 
> Error in firstlib(which.lib.loc, package) : 
>         Tcl/Tk support is not available on this system
> Error in eval.with.vis(expr, envir, enclos) : 
>         tcltk support is absent
> > "
> I've installed all the TK/Tcl stuff from Yast2 (the suse installer)
> butno way to run these demo. Is it a wrong path the problem ? Could you
> suggets how to configure or solving htis ?
> Thanks for help
> Giulio

The configure script for R tries its best to find the Tcl/Tk
installation. What does it tell you at the end? 

Notice that Tcl/Tk must be installed before you configure R, and also
that you might need to remove the config.cache file before

If that doesn't work, you'll have to tell us where tcl.h, libtcl.so
and friends are located on SuseLinuxPPC, so that we have a chance of
guessing what went wrong.

   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