backup shell initialization configs + automate installation/setup of data science packages
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


These are dotfiles, i.e. configurations of shell and other programs, to set up a basic data science working environment. The setup and workflow is covered in detail in this blog post.

Tested on Linux Mint 17.3 Cinnamon 64-bit and Ubuntu 14.04 (Trusty Tahr) 32-bit.


Please be careful and read through the repo (and the associated Emacs repo cloned by install/ before cloning it and running the installation script. will replace your old dotfiles without making backups.

Some packages are hefty downloads, like the auctex package installed by apt-get that's needed for the LaTeX Emacs plugin. If you don't need it, comment it out before running the script (and the plugin in the Emacs repo).

Packages loads the scripts in the install directory to install packages.

  • tree - visualize directories as trees
  • imagemagick - bitmap image editor
  • build-essential - for building Debian packages
  • pandoc - markup language parser/converter
  • automake - tool for generating files (required by auctex, Emacs plugin)
  • texlive-full - LaTeX (required by auctex, Emacs plugin)

  • python numeric/scientific computing/plotting libraries: matplotlib, ggplot, numpy, pandas, scipy, scikit-learn, jupyter, ipython, ipython-notebook, statsmodels
  • python webscraping - beautifulsoup4
  • r language and libarires - r, r-essentials
  • jedi - autocompletion and static analysis library for python (required by elpy, Emacs plugin)
  • flake8 - python PEP8 style and error checker (required by elpy, Emacs plugin)

  • autoenv - directory-based environments
  • Emacs configuration files - cloned from my Emacs repo

  • install emacs 24.4 (if not available in system repo, then build from source)

  • install miniconda3


On a fresh installation of Ubuntu, first install git: sudo apt-get install git

Then clone this repo with Git

git clone

Then run the installation script:

source dotfiles/


  • Type conda list in your shell to check if the miniconda path has been prepended to the PATH variable. If the command is not recognized, try logging out and back into your system in order for the changes to .profile to take effect.
  • Type conda list to check that all the packages were successfully installed by If they weren't (e.g. due to a failed internet connection), you can run again. Note, the list output by conda list should look a lot longer than that in because of automatically installed dependencies.