Skip to content

Instantly share code, notes, and snippets.

@nuada
Last active January 8, 2016 10:52
Show Gist options
  • Save nuada/9757771 to your computer and use it in GitHub Desktop.
Save nuada/9757771 to your computer and use it in GitHub Desktop.
#!/bin/bash
source /etc/lsb-release
echo "deb http://r.meteo.uni.wroc.pl/bin/linux/ubuntu ${DISTRIB_CODENAME}/" > /etc/apt/sources.list.d/cran.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
apt-get update
apt-get upgrade -y
apt-get install -y r-cran-dbi libcurl4-openssl-dev libxml2-dev libjpeg62
rstudio_version=0.99.491
wget http://download1.rstudio.org/rstudio-${rstudio_version}-amd64.deb
dpkg -i rstudio-${rstudio_version}-amd64.deb
rm rstudio-${rstudio_version}-amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment