[R] Problem installing package "sp" in R 2.13.0

Andrew Robinson A.Robinson at ms.unimelb.edu.au
Fri Apr 29 01:25:53 CEST 2011


Hi Arnaud,

the error is telling you that you don't have the "make" command.  This
might be because you haven't installed the necessary software to
compile R packages.  I suggest that you check the FAQ for Macintosh to
see how to do that.

Best wishes

Andrew

On Thu, Apr 28, 2011 at 01:30:58PM +0200, 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.


-- 
Andrew Robinson  
Program Manager, ACERA 
Department of Mathematics and Statistics            Tel: +61-3-8344-6410
University of Melbourne, VIC 3010 Australia               (prefer email)
http://www.ms.unimelb.edu.au/~andrewpr              Fax: +61-3-8344-4599
http://www.acera.unimelb.edu.au/

Forest Analytics with R (Springer, 2011) 
http://www.ms.unimelb.edu.au/FAwR/
Introduction to Scientific Programming and Simulation using R (CRC, 2009): 
http://www.ms.unimelb.edu.au/spuRs/



More information about the R-help mailing list