Re: [R] compiling rgdal package on windows / macos

From: Dylan Beaudette <>
Date: Wed 11 Oct 2006 - 20:06:25 GMT

On Thursday 05 October 2006 02:06, Roger Bivand wrote:
> On Wed, 4 Oct 2006, Dylan Beaudette wrote:
> > Greetings:
> >
> > As I am not a windows user, I cannot try this: is it possible to install
> > rgdal on windows without having to compile it from source ?
> Andy Jaworski already replied that rgdal Windows binaries are available
> from CRAN mirrors, thanks to Uwe Ligges.
> > Compilation on MacOS is within my abilities, however each time i try and
> > install the rgdal package it dies complaining that it cannot find
> > gdal-config --- which was recently installed with GRASS. I have updated
> > my PATH environment variable, logged out, but R still cannot find the
> > gdal-config program.
> For Mac OSX, please consult the detailed instructions on:
> -> Maps (in the left navigation bar).
> Hint: see the configure.args= argument of install.packages() and use
> --with-gdal-config= to get the address right.
> No Mac OSX binaries will be provided from CRAN, there are simply too many
> Mac OSX varieties out there to be sure that the installed external
> software harmonises with the rgdal binary build. However, one way of
> getting there is referenced in Rgeo, using William Kyngesburye's
> frameworks (rgdal binaries are provided in harmony with PROJ.4 and GDAL).
> By the way:
> RSiteSearch("rgdal macosx")
> first hit takes you to a recent reply on this topic on the R-sig-geo list.
> > any tips on getting the rgdal package up and running on MacOS or Windows
> > would be greatly appreciated.
> >
> > Cheers,

Thanks Roger. i had been reading some data information in regards to the rgdal package, and thought I would put out a question as soon as possible. Thanks for all of the hard work!

PS: I asked this question as I am currently leading a seminar on open source software tools for soil scientists, and wanted to highlight the GRASS-R coupling. Since many of the students are using macs, I wanted to make sure that I would be able to give them an example that they could implement themselves.


Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu Oct 12 05:51:30 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 11 Oct 2006 - 20:30:26 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.