[R] tcl/tk - Install problem using MacOS X / X11
Achim Kayser
akayser at envico.ch
Thu Feb 23 14:37:34 CET 2006
Hi
Sorry, my first post was in German.
I tried to get Rcmdr running under MacOS X 10.4.5. While RGui pretends
that tcltk is running, starting Rcmdr freezes R completely.
Instead, JGR which gave me the following results:
> library(tcltk)
Loading Tcl/Tk interface ... Error in fun(...) : no display name and no
$DISPLAY environment variable
Error: .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package/namespace load failed for 'tcltk'
>
I tried
Sys.putenv("DISPLAY"=":0")
which indeed resulted in a line in Rprofile:
## non standard settings for the R.app GUI of the Mac OS X port
if(.Platform$GUI == "AQUA") {
## this is set to let RAqua use both X11 device and
## X11/TclTk
if (Sys.getenv("DISPLAY") == "")
Sys.putenv("DISPLAY" = ":0")
## this is to allow g77 compiler to work
Sys.putenv("PATH" = paste(Sys.getenv("PATH"),":/usr/local/bin",sep
= ""))
}## end "Aqua"
Anay ideas what`s wrong ?
Regards
Achim
Hallo !
Ich habe versucht Rcmdr unter MacOSX 10.4.5 zu installieren. RGui zeigt
an, dass tcl/tk laufen. Bei Aufruf von Rcmdr friert R jedoch komplett ein.
JGR zeigt im Paketmanager dagegen an, dass tcl/tk nicht gestartet werden
konnte und spuckt folgende Meldung aus:
> library(tcltk)
Loading Tcl/Tk interface ... Error in fun(...) : no display name and no
$DISPLAY environment variable
Error: .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package/namespace load failed for 'tcltk'
>
Ideen ?
Achim
More information about the R-help
mailing list