Create a gist now

Instantly share code, notes, and snippets.

@yfwu /install.sh
Last active Jun 19, 2016

What would you like to do?
create datascience environment
# Refs: https://www.continuum.io/blog/developer/jupyter-and-conda-r
# setting R and Python environment
sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libgfortran3
wget https://mran.microsoft.com/install/mro/3.2.5/MRO-3.2.5-Ubuntu-14.4.x86_64.deb
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
sudo dpkg -i MRO-3.2.5-Ubuntu-14.4.x86_64.deb
bash Miniconda3-latest-Linux-x86_64.sh
rm *
# install jupyter
# not reload, not in $PATH
~/miniconda3/bin/conda install jupyter
# install IRkernel
echo "install.packages(c('pbdZMQ', 'devtools'))
devtools::install_git('git://github.com/IRkernel/repr.git')
devtools::install_git('git://github.com/IRkernel/IRdisplay.git')
devtools::install_git('git://github.com/IRkernel/IRkernel.git')" >> install.R
sudo Rscript install.R
rm install.R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment