[R] Regarding rgdal package installation in R

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 25 15:07:12 CEST 2013

On 25/10/2013 13:48, S Ellison wrote:
>> -----Original Message-----
>> I'm in-need of rgdal installation for R in our CentOS 6 machine to
>> handle shapefiles.
> Is there any reason that you cannot run
>> install.packages("rgdal")
> which would be the recommended way to install a package with all dependencies automatically downloaded and installed?

Not the system software dependencies.  For rgdal that is GDAL and PROJ.4 
(and its databases).  On any competent RPM-based system yum etc will 
download all their dependencies automatically.  For Fedora 18 all I 
needed was

yum install gdal-devel proj-devel proj-nad

I'd ask again on r-sig-geo if that fails.

> If you cannot do that, review the CRAN page for the packages which rgdal Depends on or Imports, and make sure those are also installed. Similarly, for each of those.
> S Ellison
> *******************************************************************
> This email and any attachments are confidential. Any use...{{dropped:8}}
> ______________________________________________
> 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.

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