Dear Candice,

I'm glad that you were able to get everything to work. The message offering to 
install additional packages on initial Rcmdr start-up is expected, as is 
mentioned in the R Commander installation notes.

My guess is that you didn't log out or reboot after installing XQuartz, 
something that the R Commander Mac installation notes tell you to do.

It's a good idea to keep the R-SIG-Mac list in the loop so that others who 
experience a similar problem will see the solution, so I've cc'ed the list.

Best,
 John

> -----Original Message-----
> From: Candice Chan [mailto:aurorasea...@hotmail.com]
> Sent: Wednesday, June 1, 2016 11:17 AM
> To: Fox, John <j...@mcmaster.ca>
> Subject: RE: [R-SIG-Mac] R commander installation problem (Mac OSX
> Capitan)
> 
> Hi John,
> 
> Thank you very much for your detailed explanation. I have already
> checked out that webpage before posting but did not solve my problem.
> Tried the tcltk check and it was not working. So I rebooted the system,
> restarted R, tried to run Rcmdr and it now tells me to install some
> missing softwares. Now, Rcmdr is finally working and thank you very
> much!
> 
> C
> 
> 
> > From: j...@mcmaster.ca
> > To: aurorasea...@hotmail.com
> > CC: r-sig-mac@r-project.org
> > Subject: RE: [R-SIG-Mac] R commander installation problem (Mac OSX
> > Capitan)
> > Date: Wed, 1 Jun 2016 12:41:51 +0000
> >
> > Dear Candice,
> >
> > Your message is a bit hard to read -- R-SIG-Mac list doesn't accept
> HTML email and reformatted the message. Also, although you don't say so,
> I assume that you're using the current versions of R and the Rcmdr
> package. If you haven't already done so, please read the R Commander
> installation notes at
> <http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-
> notes.html>.
> >
> > I don't know the source of your problem but it may help to try to
> isolate it. First, see whether the tcltk package -- a standard part of R
> -- is working. In a fresh session, type the command library(tcltk) at
> the > R command prompt and then the command
> tk_messageBox(message="test") . If that doesn't work, as is likely,
> you'll know that the problem isn't peculiar to the Rcmdr package.
> >
> > Second, if you haven't already done so, log out of your account and
> then back in -- or just reboot your Mac -- and try again. You have to
> log out after installing XQuartz.
> >
> > Next, try running R in a Mac terminal window (just type R at the
> terminal command prompt) rather than using R.app. See whether the tcltk
> and Rcmdr packages work when you bypass R.app.
> >
> > Finally, try reinstalling everything -- R, the Rcmdr package, and
> XQuartz. Reboot and try again.
> >
> > Let us know what happens.
> >
> > I hope this helps,
> > John
> >
> > -----------------------------
> > John Fox, Professor
> > McMaster University
> > Hamilton, Ontario
> > Canada L8S 4M4
> > Web: socserv.mcmaster.ca/jfox
> >
> >
> >
> > > -----Original Message-----
> > > From: R-SIG-Mac [mailto:r-sig-mac-boun...@r-project.org] On Behalf
> > > Of Candice Chan
> > > Sent: June 1, 2016 7:31 AM
> > > To: r-sig-mac@r-project.org
> > > Subject: [R-SIG-Mac] R commander installation problem (Mac OSX
> > > Capitan)
> > >
> > >
> > >
> > >
> > > Hello, I am completely new to using R and I'm trying to install it
> > > onto my laptop (Mac Capitan 10.11.5). I have downloaded R commander,
> > > and also ensured I installed the latest X Quartz. I then run
> > > "library(Rcmdr)", but received the following message: Loading
> > > required package: splinesLoading required
> > > package: RcmdrMiscLoading required package: carLoading required
> package:
> > > sandwichError : .onLoad failed in loadNamespace() for 'Rcmdr',
> details: call:
> > > structure(.External(.C_dotTclObjv, objv), class = "tclObj") error:
> > > [tcl] invalid command name "tk_messageBox".Error: package or
> > > namespace load failed for  Rcmdr I searched for help and some
> > > previous posts suggested running X quartz in the background and
> > > restarting R, and try again. However that failed to solve the
> problem. I would really appreciate your help and advice on this.
> > > Thank you very much Candice NUS Student
> > >
> > > [[alternative HTML version deleted]]
> >

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to