[R-SIG-Mac] Unable to load Rcmdr with R 3.0.1 on a Mac OS X 10.8.3

Simon Urbanek simon.urbanek at r-project.org
Thu Aug 22 02:28:31 CEST 2013


errno=13 is "permission denied" so it seems like your system's access control is somewhat misconfigured. Did you try "Repair Disk Permissions" in "Disk Utility"?

If that doesn't help please send us the output of the following R command:

system("ls -ld /usr/local /usr/local/lib /usr/local/lib/libtcl*")


On Aug 21, 2013, at 7:51 PM, Sarah Hardy wrote:

> Using R 3.0.1 on a Mac OS X 10.8.3 I have been unable to load the package
> Rcmdr.
> I am not a regular Mac user, but I need to be able to help my students who
> have Macs install R and Rcmdr to use it in my Intro Stats class. To that
> end, this week I have been working on a Mac from our loaner pool. I have
> been able to successfully install Rcmdr on Macs of all OS X types with
> previous versions of R, so this is a new problem for me.
> Note that before attempting to install or load Rcmdr I installed XQuartz
> and I can plot to a graphics window without any problems so I assume it is
> working properly.
> Following the directions on
> http://socserv.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html I have
> been able to install the Rcmdr package without apparent problems. But when
> I attempt to load the Rcmdr package, either with the Package Manager or by
> typing
>> library(Rcmdr)
> I get the following error messages:
> Loading required package: car
> Loading required package: MASS
> Loading required package: nnet
> Error : .onLoad failed in loadNamespace() for 'tcltk', details:
>  call: dyn.load(file, DLLpath = DLLpath, ...)
>  error: unable to load shared object
> '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so':
> dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so,
> 10): Library not loaded: /usr/local/lib/libtcl8.6.dylib
>  Referenced from:
> /Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so
>  Reason: no suitable image found.  Did find:
> /usr/local/lib/libtcl8.6.dylib: stat() failed with errno=13
> /usr/local/lib/libtcl8.6.dylib: stat() failed with errno=13
> Error: package or namespace load failed for ŒRcmdr‚
> It looks to me like Rcmdr is attempting to load a tcltk  CRAN package
> which no longer exists with R 3.0.1 (which is now bundled with Tck/Tk 8.6.0).
> One of the many things I have tried is installing
> tcltk-8.5.5-x11.pkg<http://cran.cnr.berkeley.edu/bin/macosx/tools/tcltk-8.5.5-x11.pkg>,
> but, as warned, that did not work. I have contacted the Rcmdr package
> author who suggested that I uninstall R (which was an adventure in and of
> itself) and reinstall it, but I had the same exact problems. He also
> suggested that I seek help on the R Mac OS X help list and so here I am. I
> am hoping someone can point me toward a solution as the start of the
> semester is nearly upon us.
> Thank you,
> Sarah Hardy
> -- 
> Sarah Hardy, PhD
> Associate Professor of Mathematics
> University of Maine Farmington
> 207-778-7124    Office: Brinkman 100
> 	[[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

More information about the R-SIG-Mac mailing list