[R] problem for installing rgdal

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jul 11 08:29:52 CEST 2012

On 10/07/2012 17:35, stanislas rebaudet wrote:
> Hello,
> I run [R] 2.14 on Mac OS 10.6 and I've been desperately trying to install rpy2 in order to compute spatial statistics on QGIS 1.7.3.
> rpy2 is dependent upon the rgdal [R]package that I've been unable to install in spite of up to date versions of GDAL and PROJ.
> More precisely, [R] console writes "Error: gdal-config not found". As a matter of fact, typing "gdal.config" on a Terminal shell doesn't work either...
> Yet, the file is actually present in /Library/Frameworks/GDAL.framework/Versions/1.9/Programs
> I then tryed to follow suggestions with:  --configure-args='--with-gdal-config=/Library/Frameworks/GDAL.framework/Versions/1.9/Programs/gdal-config'
> I received "no such file or directory"
> I also found this option described here (http://www.r-bloggers.com/installing-rgdal-on-mac-os-x-2/), but couldn't get through it...

First, there is an OS X binary available for rgdal.

Second, please ask either on R-sig-mac (this is Mac-specific) or 
R-sig-geo (which is the list for that specific packages) about how to 
install from source on OS X if you really need to.

> As anyone an idea?
> Thanks for your help
> stan
> 	[[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.
PLEASE do (and note what it says about HTML mail).

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list