Skip to content

Instantly share code, notes, and snippets.

@Athospd
Last active June 22, 2023 22:14
Show Gist options
  • Save Athospd/61c10d02121f3990059660db1b2afca6 to your computer and use it in GitHub Desktop.
Save Athospd/61c10d02121f3990059660db1b2afca6 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt install -y --no-install-recommends software-properties-common dirmngr
wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
sudo apt install -y r-base r-base-core r-recommended r-base-dev
sudo apt install -y libssl1.1
sudo apt-get install gdebi-core
wget https://download2.rstudio.org/server/jammy/amd64/rstudio-server-2023.06.0-421-amd64.deb
sudo gdebi rstudio-server-2023.06.0-421-amd64.deb
sudo apt install -y libcurl4-openssl-dev libssl-dev \
libxml2-dev cmake libboost-all-dev libfontconfig1-dev \
libharfbuzz-dev libfribidi-dev libfreetype6-dev \
libpng-dev libtiff5-dev libjpeg-dev
Rscript -e "install.packages(c('glue', 'magrittr', 'R6', 'Rcpp', 'rlang', 'zeallot', 'tidyverse'))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment