Last active
August 29, 2015 14:01
-
-
Save krmbzds/4136b7ca8427318e3534 to your computer and use it in GitHub Desktop.
Jumpstart R Programming on Ubuntu 14.04
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
#!/bin/bash | |
sudo apt-get install r-base r-base-dev r-cran-testthat | |
wget -c `wget -qO- http://www.rstudio.com/ide/download/desktop | grep "Ubuntu" | grep "amd64\.deb" | sed -n "/href/ s/.*href=['\"]\([^'\"]*\)['\"].*/\1/gp" | head -1` && \ | |
sudo apt-get -f install && \ | |
sudo apt-get -y install libjpeg62 && \ | |
sudo apt-get -y install libcurl4-openssl-dev && \ | |
sudo dpkg -i rstudio-*-amd64.deb && \ | |
sudo rm -f rstudio-*-amd64.deb && \ | |
echo 'install.packages("swirl", repos="http://cran.r-project.org" )' | sudo R --no-save && \ | |
sudo rm -f jumpstart_R.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome help!