Hello everyone,

I have trouble installing the rgdal package.
I run R 2.15.0 on Mac OS 10.6.8.

I followed the instructions given by Roger Bivand, who develops rgdal and ran:
> library(sp);
> setRepositories(ind=1:2)
> install.packages("rgdal")
--- SVP sélectionner un miroir CRAN pour cette session ---
essai de l'URL 
'http://www.stats.ox.ac.uk/pub/RWin/bin/macosx/leopard/contrib/2.15/rgdal_0.7-8.tgz'
Content type 'application/x-gzip' length 13810017 bytes (13.2 Mb)
URL ouverte
==================================================
downloaded 13.2 Mb

It seemed to be OK, but when I try to call rgdal, I get:
> library(rgdal)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  impossible de charger l'objet partagé 
'/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/i386/rgdal.so':
  
dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/i386/rgdal.so,
 6): Library not loaded: /usr/lib/libcurl.4.dylib
  Referenced from: 
/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/i386/rgdal.so
  Reason: Incompatible library version: rgdal.so requires version 7.0.0 or 
later, but libcurl.4.dylib provides version 6.0.0
Erreur : le chargement du package / espace de noms a échoué pour ‘rgdal’

It seems that the problem comes from libcurl.4.dylib.

Does anyone know what I should do?

Thank you very much,
Pierre.


        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to