[R] Problems to make work Tcl/Tk library (UNIX).
Ortega, Carlos (Carlos)
cof at agere.com
Wed Mar 28 15:31:35 CEST 2001
Dear R-Help,
I am starting to use R in a Unix machine:
++++++++++++++++++++++++++++++++
> R.Version()
$platform
[1] "sparc-sun-solaris2.6"
$arch
[1] "sparc"
$os
[1] "solaris2.6"
$system
[1] "sparc, solaris2.6"
$status
[1] ""
$major
[1] "1"
$minor
[1] "1.1"
$year
[1] "2000"
$month
[1] "August"
$day
[1] "15"
$language
[1] "R"
++++++++++++++++++++++++++++
and when I try to run the Tcl/Tk demo I get an error message:
++++++++++++++++++++++++++++
> require(tcltk) || stop("tcltk support is absent")
Loading required package: tcltk
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/tools/GNU/R/1.1.1/lib/R/library/tcltk/libs/tcltk.so":
ld.so.1: /tools/GNU/R/1.1.1/lib/R/bin/R.bin: fatal: libtcl8.3.so: open
failed: No such file or directory
Error in .C("delTcl", PACKAGE = "tcltk") :
C/Fortran function name not in load table
Error in eval.with.vis(expr, envir, enclos) :
tcltk support is absent
++++++++++++++++++++++++++++
Although I have Tcl/Tk (8.3) installed, I am not sure if this problem is due
to a improper compilation/configuration when R was installed or if the
problem is due to a missing environment variable.
Based on the error message, which are the alternatives we have ?
Re-compile and install with the adequate flags linking to the Tcl/Tk libs ?
or Is it possible to set environment variables to indicate where the Tcl/Tk
libs are available ?.
Hope that it is something very basic !
Thanks in advance.
Carlos.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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