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
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac