[R] Loading rgdal library

Roger Bivand Roger.Bivand at nhh.no
Fri Sep 29 08:33:27 CEST 2006


On Fri, 29 Sep 2006, Michael Rhead Enion wrote:

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

This is not an R-help question, rather for R-sig-mac and/or R-sig-geo. 
Please review the archives of those lists, plus comments on the 
rgdal package on the Rgeo (www.R-project.org/Rgeo) site first page and 
under "Maps", and if those do not resolve your problem, post to one of 
those lists, possibly also reporting how you solved the problem.

> 
> 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
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the R-help mailing list