[R] tcl/tk - Install problem using MacOS X / X11
John Fox
jfox at mcmaster.ca
Thu Feb 23 16:04:59 CET 2006
Dear Achim,
I'm not a Mac user, so can only offer limited help, but I wonder whether
you've looked at the Rcmdr installation notes at
<http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html>?
There are instructions there for getting the Rcmdr package working on Macs.
I hope that this helps,
John
--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
--------------------------------
> -----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:
>
> > 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
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list