Skip to content

Instantly share code, notes, and snippets.

@yfwu
Last active June 19, 2016 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yfwu/b161a8856e48966df24e687beee2a95b to your computer and use it in GitHub Desktop.
Save yfwu/b161a8856e48966df24e687beee2a95b to your computer and use it in GitHub Desktop.
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