[R-sig-Geo] Linux or OS X on Macbook Pro Retina?

Rainer M Krug Rainer at krugs.de
Wed Jun 19 15:57:40 CEST 2013


Hadley Wickham <h.wickham at gmail.com> writes:

>>> 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.

I read this already in a question on stackexchange [1], but I guess I
understand not enough about these ports and what they are actually
doing. But if you also share this sentiment, I will then uninstall
macports, and try homebrew. 

>
> 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")

This looks really tempting.

I will try it out then,

Rainer

>
> Hadley
>
> --
> Chief Scientist, RStudio
> http://had.co.nz/



Footnotes: 
[1]  http://apple.stackexchange.com/questions/32724/what-are-pros-and-cons-for-macports-fink-and-homebrew

-- 
Rainer M. Krug

email: RMKrug<at>gmail<dot>com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20130619/9c69991b/attachment.bin>


More information about the R-sig-Geo mailing list