Installing Virtualenv and Virtualenvwrapper and packages for Data Analysis
--------------------
sudo apt-get install python-pip
sudo apt-get install python-dev
sudo apt-get install libfreetype6
sudo apt-get install libfreetype6-dev
sudo apt-get install libblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install libxml2-dev
sudo apt-get install libxslt-dev
sudo apt-get install gfortran
sudo pip install virtualenv
sudo pip install virtualenvwrapper
mkdir ~/.virtualenvs
export WORKON_HOME=~/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
lsvirtualenv
mkvirtualenv p2
workon p2
pip list
pip install ipython[all]
pip install cython
pip install numpy
pip install scipy
pip install pandas
pip install matplotlib
pip install biopython
pip install scaffold
pip install scikit-learn
pip install scikit-bio
pip install cogent
pip install biom-format
pip install lxml
pip install html5lib
pip install BeautifulSoup4
------------
sudo sh -c 'echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list'
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install r-base
sudo apt-get -y install libcurl4-gnutls-dev libxml2-dev libssl-dev
Installing the packages in sudo
sudo -s
R
pkgs = c("dplyr","ggplot2","reshape2","ggvis","tidyr","pheatmap", "d3heatmap")
install.packages(pkgs,dependencies=TRUE)
devtools::install_github("hrbrmstr/metricsgraphics")
#exit out from root
No comments:
Post a Comment