MacOS spatial packages installation
On Tue, 18 Jun 2013, Barry Rowlingson wrote:
Hi there what's the current best-practice method for installing all our favourite spatial packages on a Mac? Is there anything simpler or more recent than: http://codealamode.blogspot.co.uk/2012/08/installing-rgdal-for-r-on-mac.html
Yes, and there probably was then too, unless extra drivers were needed for GDAL or OGR, or where the latest GDAL or GEOS are needed. The OSX CRAN binaries are up to date on rgdal and rgeos, and not too far behind on the external dependencies, which are included statically built to remove the risk of complication - all thanks to Brian Ripley for starting the build process and Simon Urbanek for keeping it running. I don't have access to such a platform, so comments from those using it would be helpful. If the target users already have GEOS, GDAL, etc, installing from source should be OK if their machines are set up to install from source, but is obviously more demanding. Hope this helps, Roger
I'm after installing rgdal, raster, maptools, rgeos, but unfortunately I don't have a Mac to try it on - I'm trying to get instructions for distributing to people before a workshop. The easiest way for Ubuntu/Linux at the moment appears to be to install R from CRAN's ubuntu packaging and then add Michael Rutter's PPA "ppa:marutter/c2d4u" to your sources. This then lets you get rgdal with "apt-get install r-cran-rgdal" (or a similar one-liner) which gets all the gdal library dependencies. But when I have to do this on Macs I find the instructions have always changed since last time. Thanks Barry
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Roger Bivand Department of Economics, NHH Norwegian School of Economics, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no