[R-SIG-Mac] grDevices won't load
Steven McCarroll
smccarro at broad.mit.edu
Mon May 29 00:46:46 CEST 2006
> Just in case that doesn't help and you installed multiple versions
> of R - another hypothesis is that you may have the wrong version of
> R marked as current -
> ls -l /Library/Frameworks/R.framework/Versions/Current
> should be showing 2.4, otherwise you're in trouble. (For the record
> - there is no R 2.4.0 - only R-devel which is 2.4.0-to-be).
I installed R from the R-devel-tiger-universal.tar.gz.
I had the current problem with earlier versions of R (before R-devel)
on this machine, though never on my OS 10.3.9 laptop.
Versions/Current is showing 2.4:
[Steven-McCarrolls-G5-Tower:~] smccarro% ls -l /Library/Frameworks/
R.framework/Versions/
total 32
lrwxr-xr-x 1 root admin 5 May 23 14:07 2.0 -> 2.0.1works/
R.framework/V
drwxrwxr-x 6 root admin 204 Nov 16 2004 2.0.1
lrwxr-xr-x 1 root admin 5 May 23 14:08 2.1 -> 2.1.1
lrwxr-xr-x 1 root admin 5 May 23 14:08 2.1.0 -> 2.1.1
drwxrwxr-x 6 root admin 204 Jun 20 2005 2.1.1
drwxrwxr-x 6 root admin 204 May 27 11:52 2.3
drwxrwxr-x 6 root admin 204 May 27 02:02 2.4
lrwxrwxrwx 1 smccarro admin 3 May 27 17:55 Current -> 2.4
It turns out that I can't load most packages:
Loading required package: grDevices
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/
Resources/library/grDevices/libs/ppc/grDevices.so':
dlopen(/Library/Frameworks/R.framework/Resources/library/grDevices/
libs/ppc/grDevices.so, 6): Symbol not found: ___mulsc3
Referenced from: /Library/Frameworks/R.framework/Versions/2.4/
Resources/lib/libgfortran.0.dylib
Expected in: flat namespace
Error: package 'grDevices' could not be loaded
Loading required package: stats
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/
Resources/library/grDevices/libs/ppc/grDevices.so':
dlopen(/Library/Frameworks/R.framework/Resources/library/grDevices/
libs/ppc/grDevices.so, 6): Symbol not found: ___mulsc3
Referenced from: /Library/Frameworks/R.framework/Versions/2.4/
Resources/lib/libgfortran.0.dylib
Expected in: flat namespace
Error: package 'stats' could not be loaded
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/
Resources/library/grDevices/libs/ppc/grDevices.so':
dlopen(/Library/Frameworks/R.framework/Resources/library/grDevices/
libs/ppc/grDevices.so, 6): Symbol not found: ___mulsc3
Referenced from: /Library/Frameworks/R.framework/Versions/2.4/
Resources/lib/libgfortran.0.dylib
Expected in: flat namespace
Error: package/namespace load failed for 'stats'
Thanks in advance for your ideas,
Steve
On May 28, 2006, at 6:35 PM, Simon Urbanek wrote:
> On May 28, 2006, at 6:31 PM, Simon Urbanek wrote:
>
>> On May 27, 2006, at 6:54 PM, Steven McCarroll wrote:
>>
>>>
>>> Installed R (2.4.0) on new dual-G5 Mac (OS X 10.4.4),
>>
>> Please be more specific as how how you installed it. I have just
>> tested the nightly binary and it doesn't show this behavior, so I
>> have no idea where you installed it from.
>>
>> At this point I can only speculate - the error below usually means
>> that you are using an incompatible mix of compilers (gfortran that
>> doesn't match the other gcc parts).
>>
>
> Just in case that doesn't help and you installed multiple versions
> of R - another hypothesis is that you may have the wrong version of
> R marked as current -
> ls -l /Library/Frameworks/R.framework/Versions/Current
> should be showing 2.4, otherwise you're in trouble. (For the record
> - there is no R 2.4.0 - only R-devel which is 2.4.0-to-be).
>
> Cheers,
> Simon
>
More information about the R-SIG-Mac
mailing list