Skip to content

Instantly share code, notes, and snippets.

@ateucher
Created October 11, 2016 19:46
Show Gist options
  • Save ateucher/801741dd04a9a8c105981fdce953d7fe to your computer and use it in GitHub Desktop.
Save ateucher/801741dd04a9a8c105981fdce953d7fe to your computer and use it in GitHub Desktop.
Homebrew Data Science Setup
# From Bob Rudis (@hrbmstr): https://rud.is/b/2015/10/22/installing-r-on-os-x-100-homebrew-edition/
brew tap caskroom/cask
brew install brew-cask
brew install Caskroom/cask/xquartz
brew cask install java
brew tap homebrew/science
brew install R --with-openblas # added --with-openblas based on a spiffy comment by Lincoln Mullen
brew install Caskroom/cask/rstudio
# For latex:
brew cask install mactex
# OR YOU CAN DO
brew install gnupg
brew cask install basictex # suggested by @noamross
# plus the following, provided by Kras.Pten
# read why here: http://rud.is/b/2015/10/22/installing-r-on-os-x-100-homebrew-edition/#comment-10603
sudo tlmgr update –-self
sudo tlmgr update –-all
sudo tlmgr install titling framed inconsolata
# DO NOT DO BOTH!
brew install libsvg curl libxml2 gdal geos boost
R CMD javareconf JAVA_CPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers
brew tap caskroom/fonts
brew cask install font-fira-code
brew cask install iterm2
brew cask install gitup # if you want a GUI for git stuff (h/t @jennybryan)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment