[R-sig-Geo] rgdal package for mac

Agustin Diez Castillo adiez at uv.es
Fri May 18 16:34:20 CEST 2012


Kyngchaos version can be installed for 2.15 [1] and 2.14 [2]
[1] http://www.kyngchaos.com/files/software/frameworks/rgdal-0.7.8-2.zip
[2] http://www.kyngchaos.com/files/software/frameworks/rgdal-0.7.8-1.zip



El May 18, 2012, a les 4:18 PM, de Larminat, Pierre va escriure:

> Hello,
> 
> I have the same problem than:
> [R-sig-Geo] rgdal package for mac
> Gabriele Cozzi gab.cozzi at gmail.com<http://gmail.com>
> Thu May 17 10:33:21 CEST 2012
> 
> I have already done:
> setRepositories(ind=1:2)
> install.packages("rgdal")
> as said on the CRAN page for rgdal.
> 
> I have restarted the computer and R.
> When I entered the lines again, I received the same message that I had received before:
> 
>> 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
> 
> 
> Les packages binaires téléchargés sont dans
> /var/folders/zT/zTnmGA9q2RaOuE+F76E3E++++TI/-Tmp-//RtmpKnHXly/downloaded_packages
>> library(rgdal)
> Le chargement a nécessité le package : sp
> 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‚
>> 
> 
> Does anyone know how to solve this problem?
> Thank you very much,
> Pierre de Larminat.
> 
> 
> 
> Le 18 mai 2012 à 15:45, Roger Bivand a écrit :
> 
> On Fri, 18 May 2012, de Larminat, Pierre wrote:
> 
> Dear Prof. Bivand,
> 
> As I have trouble installing rgdal on my Macbook, I searched on some
> blog-posts by R-bloggers, and I tried to look for help on r-sig-geo. It
> seems that my message doesn't come through. Can you help me please? In
> any case, thank you for your efforts in developing rgdal. I have seen
> what others do with it. It is fascinating. Best regards, Pierre de
> Larminat.
> 
> You are subscribed as larminat at mpifg.de<mailto:larminat at mpifg.de>, and must post from that address.
> 
> Never search blogs, they are almost always misleading, and nobody takes
> responsibility for keeping the advice given up to date. Did you read the
> CRAN page for rgdal - it does explain how to install rgdal on OSX. You
> might also have searched the list archives (this question was answered
> yesterday), or googled "list:r-sig-geo rgdal Mac".
> 
> Roger Bivand
> 
> list admin.
> 
> 
> 
> - - -
> Pierre de Larminat
> Visiting doctoral fellow
> Max Planck Institute for the Study of Societies
> Paulstrasse 3, D-50676 Köln, Germany
> office: +49.221.2767.222
> mobile: +49.152.521.704.83
> e-mail: larminat at mpifg.de<mailto:larminat at mpifg.de>
> 
> Début du message réexpédié :
> 
> De : "r-sig-geo-owner at r-project.org<mailto:r-sig-geo-owner at r-project.org>" <r-sig-geo-owner at r-project.org<mailto:r-sig-geo-owner at r-project.org>>
> Date : 18 mai 2012 15:28:54 HAEC
> À : "de Larminat, Pierre" <pl at mpifg.de<mailto:pl at mpifg.de>>
> Objet : Installing rgdal on mac
> 
> You are not allowed to post to this mailing list, and your message has
> been automatically rejected.  If you think that your messages are
> being rejected in error, contact the mailing list owner at
> r-sig-geo-owner at r-project.org<mailto:r-sig-geo-owner at r-project.org>.
> 
> 
> De : "de Larminat, Pierre" <pl at mpifg.de<mailto:pl at mpifg.de>>
> Date : 18 mai 2012 15:28:28 HAEC
> À : "r-sig-geo at r-project.org<mailto:r-sig-geo at r-project.org>" <r-sig-geo at r-project.org<mailto:r-sig-geo at r-project.org>>
> Objet : Installing rgdal on mac
> 
> 
> Hello,
> 
> Working on MacOS X, I have trouble installing rgdal.
> 
> I am sorry to post about this problem, since others have probably asked the question earlier on this list, but there seem to be no search tool to look for the previous posts on the list.
> 
> Below is the R-output to my previous installation trials:
> 
> install.packages("rgdal")
> Message d'avis :
> package Œrgdal‚ is not available (for R version 2.15.0)
> setRepositories(ind=1:2)
> install.packages("rgdal")
> 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
> 
> 
> Les packages binaires téléchargés sont dans
> /var/folders/zT/zTnmGA9q2RaOuE+F76E3E++++TI/-Tmp-//Rtmpu8X57c/downloaded_packages
> 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‚
> 
> 
> Meanwhile, I have installed PROJ 4.8 and GDAL 1.9 Complete from http://www.kyngchaos.com/software:frameworks
> 
> but it doesn't help. When I try again with
> setRepositories(ind=1:2)
> install.packages("rgdal")
> 
> I still get the error message pasted above.
> 
> Can you help me?
> Thank you very much,
> 
> Pierre de Larminat.
> 
> 
> [[alternative HTML version deleted]]
> 
> 
> 
> 
> 
> 
> --
> Roger Bivand
> Department of Economics, NHH Norwegian School of Economics,
> 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<mailto:Roger.Bivand at nhh.no>
> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



More information about the R-sig-Geo mailing list