-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Achim Kayser
Sent: Thursday, February 23, 2006 8:38 AM
To: r-help at stat.math.ethz.ch
Subject: [R] tcl/tk - Install problem using MacOS X / X11
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:
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:
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'