[R-sig-Geo] rgdal package for mac

de Larminat, Pierre pl at mpifg.de
Fri May 18 17:59:09 CEST 2012


Le 18 mai 2012 à 17:52, Roger Bivand a écrit :

> On Fri, 18 May 2012, de Larminat, Pierre wrote:
> 
>> 
>> 
>> Le 18 mai 2012 à 17:14, Roger Bivand a écrit :
>> 
>>> On Fri, 18 May 2012, de Larminat, Pierre wrote:
>>> 
>>>> 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
>>> 
>>> This does seem to imply that sp is necessary, doesn't it? Have you
>>> installed sp? Messages are given to be read, rather than ignored.
>>> 
>>> Roger
>>> 
>> Yes I had installed sp. The message merely states that I had not charged the sp library and that R had to do it by itself. When I do run *library(sp)* in time, I still get:
> 
> OK. The next error message refers to your system having "libcurl.4.dylib 
> provides version 6.0.0", but that the rgdal OSX binary requires >= 7.0.0:
> 
>> 
>>>> 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
> 
> ^^^^ here. Are you running an older OSX version?
> 
> Roger
> 
I am running R 2.15 on MacOS 10.6.8 and I do not know what libcurl.4.dylib is.

Pierre.
> 
>>>> 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]]
>>>> 
>>>> 
>>> 
>>> --
>>> 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
>>> 
>> 
>> 
> 
> -- 
> 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



More information about the R-sig-Geo mailing list