On 19 June 2013 15:40, Hadley Wickham <h.wickham@gmail.com> wrote:

> >  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?
>
> Yes, you just run:
>
> ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
>
> all macs have ruby on them already.
>

Worked perfectly


>
> > does that brew command require an rgdal 'formula' somewhere? I cant
> > find one here:
> >
> > https://github.com/mxcl/homebrew/blob/master/Library/Formula
>
> You want rgdal from brew, and then rgdal from CRAN.
>

I assume you mean gdal from brew? That's what I installed.


>
> > 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")
>
> Yes, except I usually just install the binary R distro from CRAN (and
> 3 needs to come before 1).
>
>
And I have to install x-server which I am doing right now.
I installed the official binary from cran.

Following gdal, I also need GRASS 7.0 - I couldn't find a recipe for GRASSx
- do you know if there is one? Otherwise I would just try my luck and write
my first one...

Thanks a lot,

Rainer


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



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          Rainer@krugs.de

Skype:          RMkrug
Google:         R.M.Krug@gmail.com

	[[alternative HTML version deleted]]

