Skip to content

Instantly share code, notes, and snippets.

@anhqle
Last active October 27, 2017 23:51
Show Gist options
  • Save anhqle/48953c60158f2d9722df2b3e687d8422 to your computer and use it in GitHub Desktop.
Save anhqle/48953c60158f2d9722df2b3e687d8422 to your computer and use it in GitHub Desktop.
Set up for Mac OS X data science
# Unix tool
brew install wget # needed downstream
# R and RStudio
brew tap homebrew/science
brew install --with-x11 r
brew cask install --appdir=/Applications rstudio
# Miniconda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh
rm Miniconda3-latest-MacOSX-x86_64.sh
conda install numpy scipy pandas scikit-learn
# Spacemacs
brew cask install emacs
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
git clone https://github.com/LaDilettante/.spacemacs.d
# Skim (pdf viewer, works well with AucTex's synctex)
# MANUAL: check box in sync for auto-reload
brew cask install skim
defaults write -app Skim SKAutoReloadFileUpdate -boolean true # set Skim defaults to auto-reload when pdf changes (good for synctex)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment