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

Lyndon Estes lestes at princeton.edu
Wed Jun 19 15:50:24 CEST 2013


Hi Rainier,

I used R on Macbook Pros (as well as linux clusters), first with
Leopard and now Lion, and used the frameworks from
http://www.kyngchaos.com (which you probably know).  I did that a
while ago (>1 year), so maybe that route isn't necessary anymore, but
the installs went fairly smoothly and worked pretty well and I haven't
had any problems with things not working.

So I have gdal complete, proj4, spgrass6 (although rarely use it),
QGIS, all installed and functioning nicely on my machine.  I use
system calls to gdal functions from R fairly frequently, and they work
nicely. The only thing I have not been able to sort out properly on
the mac is Rpy2 for using the R-QGIS interface, but I haven't tried
that in a while and don't have much cause for using it.

I am sorry I don't have any install notes to share.

Cheers, Lyndon


On Wed, Jun 19, 2013 at 9:30 AM, Barry Rowlingson
<b.rowlingson at lancaster.ac.uk> wrote:
> On Wed, Jun 19, 2013 at 2:08 PM, Hadley Wickham <h.wickham at gmail.com> wrote:
>
>> 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")
>
>  Where does a Maccer get the 'brew' command from? Reading these docs:
>
> http://mxcl.github.io/homebrew/
>
> seems to imply you first need Ruby. Is that installed on every Mac?
>
>
> does that brew command require an rgdal 'formula' somewhere? I cant
> find one here:
>
> https://github.com/mxcl/homebrew/blob/master/Library/Formula
>
> or is it a case of installing R from homebrew and then 'gdal' for the
> libraries and then the rgdal package via install.packages from source?
>
> 1. install Ruby
> 2. install homebrew
> 3. start a Terminal
> 3.1  brew install r
> 3.2  brew install gdal
> 4. run R
> 4.1 install.packages("rgdal",type="source")
>
> ?
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



-- 
Lyndon Estes
Associate Research Scholar
Princeton University
+1-609-258-8308 (o)
+1-609-258-2799 (f)
+1-202-431-0496 (m)
lestes at princeton.edu
www.princeton.edu/~lestes



More information about the R-sig-Geo mailing list