On Mon, 2 May 2011, António M. Rodrigues wrote:

Hi,


I'm trying to instal library rgdal in my macbook (os X 10.6.7).


I have installed the latest R package (R-2.13.0.pkg).


I have gdal 1.8 install. Also, I have loaded library sp which rgdal needs.


I downloaded rdgal_0.6-33.tgz and using R Package installer, I located and

Where from?  Not CRAN.

This is better discussed on R-sig-geo, but I suspect that either you have a local GDAL installation and local settings (in which case you probably need to build rgdal from source to match ) or you got rdgal_0.6-33.tgz from someone who has. (Mine on CRANxtras is entirely static and I have no such directory on my system.)

installed the Local Binary Package.


When trying to load rgdal ( >library(rgdal)in the R prompt) I get the error:


-----

Error : .onLoad failed in loadNamespace() for 'rgdal', details:

 call: fun(...)

 error:

GDAL Error 1: dlopen(/Library/Application
Support/GDAL/1.8/PlugIns/gdal_GRASS.dylib, 1): Library not loaded:
/Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

 Referenced from: /Library/Application
Support/GDAL/1.8/PlugIns/gdal_GRASS.dylib

 Reason: image not found


Error: package/namespace load failed for 'rgdal'

-----


Any help will be much appreciated.

thanks,

Ant?nio

        [[alternative HTML version deleted]]



--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to