Skip to content

Instantly share code, notes, and snippets.

@btisdall
Created June 10, 2013 15:53
Show Gist options
  • Save btisdall/5749863 to your computer and use it in GitHub Desktop.
Save btisdall/5749863 to your computer and use it in GitHub Desktop.
$ brew install r
==> Installing r dependency: libtiff
==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtiff/4.0.3 --without-x --disable-lzma
==> make install
🍺 /usr/local/Cellar/libtiff/4.0.3: 254 files, 3.7M, built in 40 seconds
==> Installing r
==> Downloading http://cran.r-project.org/src/base/R-2/R-2.15.3.tar.gz
######################################################################## 100.0%
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> ./configure --prefix=/usr/local/Cellar/r/2.15.3 --with-aqua --enable-R-framework --with-lapack
==> make
==> make install
==> Downloading http://rcompletion.googlecode.com/svn-history/r28/trunk/bash_completion/R
######################################################################## 100.0%
==> Caveats
R.framework was installed to:
/usr/local/opt/r/R.framework
To use this Framework with IDEs such as RStudio, it must be linked
to the standard OS X location:
sudo ln -s "/usr/local/opt/r/R.framework" /Library/Frameworks
To enable rJava support, run the following command:
R CMD javareconf JAVA_CPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment