[R] New User Having Trouble Loading R Commander on Mac OS Yosemite

John Fox jfox at mcmaster.ca
Fri May 1 23:01:01 CEST 2015


Dear David and Aaron,

I apologize for not noticing Aaron's April 30 message. Please see below:

> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of David
> Winsemius
> Sent: Friday, May 01, 2015 4:31 PM
> To: Aaron
> Cc: r-help at r-project.org
> Subject: Re: [R] New User Having Trouble Loading R Commander on Mac OS
> Yosemite
> 
> 
> On Apr 30, 2015, at 1:19 PM, Aaron wrote:
> 
> > I keep getting the same error message when trying to install R
> Commander.
> > My operating system is Mac OS Yosemite 10.10
> > I have installed R 3.2, Rstudio, XQuartz (X11), and tcltk-8.x.x-
> x11.dmg.

Aaron didn't have to install Tcl/Tk since this is now included in the R
installation. As well, although R will run under RStudio, I suggest that you
use it instead from R.app or from R running in a terminal window. Please see
the Rcmdr Mac OS X installation notes at
<http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html>
for more details.

> > But I keep getting the following error:Loading required package:
> splinesLoading required package: RcmdrMiscLoading required package:
> carError in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck =
> vI[[i]]) :   there is no package called 'SparseM'Error: package 'car'
> could not be loaded

Apparently the SparseM package wasn't installed when Aaron installed the
Rcmdr package. I'm not sure why that happened, but I've just installed the
Rcmdr package into a clean installation of R 3.2.0 under Mac OS X Yosemite
and experienced no problems -- perhaps the SparseM package was missing from
the CRAN mirror that Aaron used. Try installing the package directly via
install.packages("SparseM") and see whether that clears up the problem. If
the package is unavailable, try a different CRAN mirror.

> You should review the earlier exchanges this topic on the R-SIG-Mac
> mailing list. John Fox posted his advice there.

Most Mac OS X Rcmdr problem relate to failing to install XQuartz but that
doesn't seem to be the case here. There are some other troubleshooting tips
in the installation notes mentioned above.

I hope this helps,
 John

-----------------------------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario, Canada
http://socserv.socsci.mcmaster.ca/jfox/


> 
> >
> >
> >
> > --
> > View this message in context: http://r.789695.n4.nabble.com/New-User-
> Having-Trouble-Loading-R-Commander-on-Mac-OS-Yosemite-tp4706666.html
> > Sent from the R help mailing list archive at Nabble.com.
> > 	[[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> 
> David Winsemius
> Alameda, CA, USA
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com



More information about the R-help mailing list