Last active
June 19, 2016 11:55
-
-
Save yfwu/b161a8856e48966df24e687beee2a95b to your computer and use it in GitHub Desktop.
create datascience environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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