[R] Problem installing package "sp" in R 2.13.0
Roger Bivand
Roger.Bivand at nhh.no
Fri Apr 29 12:46:25 CEST 2011
The rgdal package is not a dependency of sp, only suggested. In addition, you
are trying to install source packages, but should (probably) be installing
binaries, with type="mac.binary.leopard" the most likely. If you need the
OSX rgdal binary, make sure that CRAN extras is on your repository path -
see ?setRepositories, for example by
setRepositories(ind=1:2). If you really want to install source packages
under OSX, be sure to read up on this on
http://cran.r-project.org/bin/macosx/
looking for the FAQ, and links to tools. If you can manage with binary
packages, stay with them.
Roger
Arnaud Catherine wrote:
>
> Hi,
>
> I am having troubles trying to install package "sp" in R (2.13.0) on mac
> OSX.
> I have tried installing the package using GUi or function install.packages
> but it didn't work.
>
> Here is the error message I get:
>
>
> also installing the dependency rgdal
>
> trying URL 'http://cran.univ-lyon1.fr/src/contrib/rgdal_0.6-33.tar.gz'
> Content type 'application/x-gzip' length 1422992 bytes (1.4 Mb)
> opened URL
> ==================================================
> downloaded 1.4 Mb
>
> trying URL 'http://cran.univ-lyon1.fr/src/contrib/sp_0.9-80.tar.gz'
> Content type 'application/x-gzip' length 738569 bytes (721 Kb)
> opened URL
> ==================================================
> downloaded 721 Kb
>
> * installing *source* package sp ...
> ** libs
> *** arch - i386
> sh: make: command not found
> ERROR: compilation failed for package sp
> * removing
> /Library/Frameworks/R.framework/Versions/2.13/Resources/library/sp
> ERROR: dependency sp is not available for package rgdal
>
> The downloaded packages are in
>
> /private/var/folders/8P/8P9oV0FHFI83GKIm2cPUOk+++TM/-Tmp-/RtmppsxaRa/downloaded_packages
> * removing
> /Library/Frameworks/R.framework/Versions/2.13/Resources/library/rgdal
>
>
>
> Any help would be much appreciated!
>
>
> Best regards.
>
>
>
>
>
> Dr. Arnaud CATHERINE
> Post-Doctorant
>
> UMR 7245 CNRS/MNHN "Molécules de Communication et Adaptation des
> Micro-organismes"
> Equipe "Cyanobactéries, Cyanotoxines et Environnement"
> Muséum National d'Histoire Naturelle
> 12, rue Buffon , Case 39
> 75231 Paris Cedex 05
>
> Tel : + 33 (0)1 40 79 31 79
> Fax : +33 (0)1 40 79 35 94
> Email : arnocat at mnhn.fr
> Site du Muséum National d'Histoire Naturelle : http://www.mnhn.fr
>
>
>
>
>
>
>
>
> [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org 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
--
View this message in context: http://r.789695.n4.nabble.com/Problem-installing-package-sp-in-R-2-13-0-tp3481107p3483392.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list