Skip to main content

Posts

Showing posts from November, 2013

Installing R language on Mac with Homebrew

First you need to install homebrew a command line package manager. Then you install gfortran if you don’t have fortran on your computer (this is a dependency of R). brew install gfortran brew install gcc Then to install R you need to tap the homebrew/science repository with this: brew tap homebrew/science Then you can install R with: brew install R This R will work with R-studio btw. Note: Homebrew seems to have removed gfortran from it's list as it's now provided by gcc. GNU Fortran is now provided as part of GCC, and can be installed with:   brew install gcc