[R-SIG-Mac] [R] problem with the installation of r commander on a mac
jfox at mcmaster.ca
Fri Oct 5 00:03:13 CEST 2012
Marco says that he installed "XQuark" (see his original message), which I
translate as " XQuartz."
Marco, can you run XQuartz.app (in Utilities on my Mac), which should open
an Xterm window?
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> On Behalf Of Simon Urbanek
> Sent: Thursday, October 04, 2012 5:47 PM
> To: John Fox
> Cc: 'Marco Mello'; r-help at r-project.org; r-sig-mac at r-project.org
> Subject: Re: [R] [R-SIG-Mac] problem with the installation of r
> commander on a mac
> In fun(libname, pkgname) : couldn't connect to display ":0"
> suggests that X11 is not running. Note that X11 is no longer part of OS
> X since Mountain Lion.
> On Oct 4, 2012, at 4:32 PM, John Fox wrote:
> > Dear Marco,
> > To provide some background, you and I have corresponded about your
> > and now at least you appear to have the tcltk package installed. Did
> > reinstall R as I suggested?
> > Have you checked that tcltk is working, following the instructions I
> > you in an earlier email?
> > I don't believe that the Rcmdr ever calls tk_messageBox directly, but
> > is a tk_messageBox() function in tcltk, and you can check whether this
> > the source (or a symptom) of the problem by issuing the following
> > in a fresh R session:
> > library(tcltk)
> > tk_messageBox(message="test")
> > That should, as the function name suggests, bring up a Tk message box.
> > Also I'm not sure what's going on with 'couldn't connect to display
> > which suggests an X-Windows issue.
> > Finally, I'm moving this discussion to r-sig-mac, where you're more
> > to get knowledgeable assistance.
> > Best,
> > John
> > -----------------------------------------------
> > John Fox
> > Senator McMaster Professor of Social Statistics
> > Department of Sociology
> > McMaster University
> > Hamilton, Ontario, Canada
> >> -----Original Message-----
> >> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> >> On Behalf Of Marco Mello
> >> Sent: Thursday, October 04, 2012 12:57 PM
> >> To: r-help at r-project.org
> >> Subject: [R] problem with the installation of r commander on a mac
> >> Dear list members,
> >> Im trying to install R Commander under Mac OSX Mountain Lion
> >> After following all the steps described in the installation notes
> >> (http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-
> >> notes.html), I got this error message:
> >> =====
> >> Loading required package: tcltk
> >> Loading Tcl/Tk interface ... done
> >> Loading required package: car
> >> Loading required package: MASS
> >> Loading required package: nnet
> >> Error : .onLoad failed in loadNamespace() for 'Rcmdr', details:
> >> call: structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"),
> >> class = "tclObj")
> >> error: [tcl] invalid command name "tk_messageBox".
> >> In addition: Warning message:
> >> In fun(libname, pkgname) : couldn't connect to display ":0"
> >> Error: package/namespace load failed for Rcmdr
> >> =====
> >> The strange thing is that Ive installed Tcl/Tk and XQuark as
> >> recommended.
> >> Ive also tried uninstalling R, reinstalling the latest version
> >> signed) and all packages, and following the same official steps
> >> It didnt work neither.
> >> Could you please help me? R Commander always worked fine on my iMac,
> >> until I updated to Mountain Lion.
> >> Best regards,
> >> Marco
> >> ************************
> >> Prof. Dr. Marco A. R. Mello
> >> Universidade Federal de Minas Gerais
> >> ICB - Depto. Biologia Geral
> >> http://marcomello.casadosmorcegos.org
> >> marmello at gmail.com
> >> ************************
> >> [[alternative HTML version deleted]]
> > _______________________________________________
> > R-SIG-Mac mailing list
> > R-SIG-Mac at r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-SIG-Mac