[R-SIG-Mac] Problems loading Rcmdr on a Mac 10.7.2 and a Mac 10.6.8

Simon Urbanek simon.urbanek at r-project.org
Thu Sep 19 15:06:21 CEST 2013


Sarah,

note that 10.7.2 is way old - there have been many patch releases since then so first thing I'd suggest is to run Software Update. XQuartz doesn't remove system X11 if installed, so it's not necessarily relevant (it depends on the local setup) - OS updates may be more important here. But if in doubt, re-install XQuartz. R binaries assume a system that is up to date, regardless of the major OS X version.

As for the other student - do not install anything extra - R 3.0.1 already comes with everything that is needed. The additional downloads were needed for older versions of R.

Cheers,
Simon


On Sep 18, 2013, at 9:46 PM, Sarah Hardy wrote:

> I myself am not a Mac user, but I have about 6 students with Macs all
> having the same (or similar) problem loading Rcmdr 2.0.1 on their Mac (but
> have successfully installed R 3.0.1).
> 
> One student has a Mac 10.7.2. I know he installed XQuartz-2.7.4.dmg and
> then completely logged out and back in.
> Before he did that he ran the "Repair Disk Permissions" in "Disk Utility".
> Afterwards I checked "Verify Disk Permissions" and I didn't see any
> warnings. When installing Rcmdr there are no unusual messages. The message
> he gets in R when attempting to load Rcmdr  is:
> 
> R version 3.0.1 (2013-05-16) -- "Good Sport"
> Copyright (C) 2013 The R Foundation for Statistical Computing
> Platform: x86_64-apple-darwin10.8.0 (64-bit)
> 
> ...
> 
> 
>> library(Rcmdr)
> Loading required package: splines
> 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/X11/lib/libfreetype.6.dylib
>  Referenced from: /usr/local/lib/libtk8.6.dylib
>   Reason: Incompatible library version: libtk8.6.dylib requires version
> 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
> Error: package or namespace load failed for ŒRcmdr‚
> 
> I'm not sure if this provides any clues, but I also ran this system
> function:
> .
>> system("ls -ld /usr/local /usr/local/lib /usr/local/lib/libtcl*")
> drwxr-xr-x   7 root  wheel      238 Mar 29 20:36 /usr/local
> drwxr-xr-x  27 root  wheel      918 Sep 17 16:55 /usr/local/lib
> -r-xr-xr-x   1 root  wheel  4820229 Oct 21  2008
> /usr/local/lib/libtcl8.5.dylib
> -r-xr-xr-x   1 root  wheel  1419604 Mar 29 20:35/usr/local/lib/libtcl8.6.dylib
> -rw-r--r--   1 root  wheel    11072 Oct 21  2008
> /usr/local/lib/libtclstub8.5.a
> -rwxr-xr-x   1 root  wheel     4824 Mar 29 20:35/usr/local/lib/libtclstub8.6.a
> 
> Another student with identical messages has a Mac 10.6.8. I think she
> installed tcltk-8.5.5-x11.dmg.
> 
> Any tips or suggestions on how to proceed would be greatly appreciated.
> 
> 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