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

From: Roger Bivand <>
Date: Thu 05 Oct 2006 - 09:06:56 GMT

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,

Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu Oct 05 19:11:17 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.