[R-SIG-Mac] Problem with libR.dylib in 2.8.0

Chris Lokan c.lokan at adfa.edu.au
Tue Oct 28 23:11:44 CET 2008


After installing 2.8.0, I am unable to load some packages. I have installed
them successfully with R CMD INSTALL, but can't load them into R.

For example:

> library("Cairo")
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared library
'/Library/Frameworks/R.framework/Versions/2.8/Resources/library/Cairo/libs/i
386/Cairo.so':
  
dlopen(/Library/Frameworks/R.framework/Versions/2.8/Resources/library/Cairo/
libs/i386/Cairo.so, 6): Library not loaded:
/Library/Frameworks/R.framework/Versions/2.7/Resources/lib/libR.dylib
  Referenced from: 
/Library/Frameworks/R.framework/Versions/2.8/Resources/library/Cairo/libs/i3
86/Cairo.so
  Reason: image not found
Error : .onLoad failed in 'loadNamespace' for 'Cairo'
Error: package/namespace load failed for 'Cairo'

Where can I find libR.dylib? Or is there another way around this?

I am running MacOS X 10.4.11. I checked the md5 hash for R-2.8.0.dmg after
downloading it, and the value was correct.

Chris



More information about the R-SIG-Mac mailing list