Skip to content

Instantly share code, notes, and snippets.

@joethorley
Last active April 18, 2016 19:44
Show Gist options
  • Save joethorley/e0dda3f060f1e6dce269f1a6157efcf9 to your computer and use it in GitHub Desktop.
Save joethorley/e0dda3f060f1e6dce269f1a6157efcf9 to your computer and use it in GitHub Desktop.
brewing R
First of all made sure that command line developer tools (but not XCode were installed)
<http://railsapps.github.io/xcode-command-line-tools.html>
```
brew tap caskroom/cask
brew install Caskroom/cask/xquartz
brew cask install java
brew cask install basictex
sudo tlmgr update –-self
sudo tlmgr update –-all
sudo tlmr install texliveonfly
sudo tlmgr install titling framed inconsolata courier helvetic
sudo tlmgr install preprint lastpage titlesec enumitem lipsum
brew tap homebrew/science
brew install R
R CMD javareconf JAVA_CPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers
brew install Caskroom/cask/rstudio
brew install libsvg curl libxml2 gdal geos boost
```
Heavily based on <http://rud.is/b/2015/10/22/installing-r-on-os-x-100-homebrew-edition/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment