[R-SIG-Mac] Loading rgdal library

Michael Rhead Enion rhead.enion at yale.edu
Fri Sep 29 13:52:30 CEST 2006


I am trying to load the rgdal library in Mac OS X 10.4.7 (pismo g3  
500 mhz).

I followed the directions for rgdal at http://www.sal.uiuc.edu/tools/ 
tools-sum/rgeo/rgeo-detail/map-packages-on-cran.
I already loaded sp and compiled rgdal successfully, such that rgdal  
shows up in the package manager GUI.  But when I try to load rgdal, I  
get the following error message:

Error in dyn.load(x, as.logical(local), as.logical(now)) :
	unable to load shared library '/Users/rhead/Library/R/library/rgdal/ 
libs/ppc/rgdal.so':
   dlopen(/Users/rhead/Library/R/library/rgdal/libs/ppc/rgdal.so, 6):  
no suitable image found.  Did find:
	/Users/rhead/Library/R/library/rgdal/libs/ppc/rgdal.so: mach-o, but  
wrong architecture
Error: package/namespace load failed for 'rgdal'

Any help in fixing this problem would be appreciated.

Thanks,

Rhead



More information about the R-SIG-Mac mailing list