[R-sig-Geo] Linux or OS X on Macbook Pro Retina?
h.wickham at gmail.com
Wed Jun 19 15:40:30 CEST 2013
> Where does a Maccer get the 'brew' command from? Reading these docs:
> 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.
> does that brew command require an rgdal 'formula' somewhere? I cant
> find one here:
You want rgdal from brew, and then rgdal from CRAN.
> 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).
Chief Scientist, RStudio
More information about the R-sig-Geo