[R-sig-Geo] Linux or OS X on Macbook Pro Retina?
Hadley Wickham
h.wickham at gmail.com
Wed Jun 19 15:08:41 CEST 2013
>> Although I'm not an actual user, I think that it will be important to
>> install GRASS and its dependencies first, then the R packages using
>> those components (rgdal, rgeos, etc) from source, linking dynamically
>> to the underlying dylibs, as one would typically do on Linux. One
>> reason for this is to maintain consistency in the PROJ and GDAL
>> metadata (things like EPSG), which differ for different versions of
>> say PROJ.
>
> That makes sense - so to install e.g. rgdal, I would use
>
> ,----
> | install.packages("rgdal, type="source")
> `----
>
> after before installing the dependencies. I will try it out by
> installing the dependencies vie Macports, which makes it quite
> easy.
Use homebrew, not macports. It's much better written.
This should just work without further config (at least it has for me
in the past):
brew install rgdal
R
install.packages("rgdal", type = "source")
Hadley
--
Chief Scientist, RStudio
http://had.co.nz/
More information about the R-sig-Geo
mailing list