Last active
February 16, 2021 07:40
-
-
Save bfatemi/7b14a973e998208d15d39282a609ec1a to your computer and use it in GitHub Desktop.
R new install
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 -y \ | |
dirmngr \ | |
gnupg \ | |
apt-transport-https \ | |
ca-certificates \ | |
software-properties-common \ | |
libpq-dev \ | |
libssl-dev \ | |
libprotobuf-dev \ | |
protobuf-compiler \ | |
libsodium-dev \ | |
libcurl4-openssl-dev \ | |
libxml2-dev | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 | |
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/' | |
sudo apt-get install -y \ | |
r-base \ | |
build-essential | |
# install.packages(c("data.table", | |
# "openssl", | |
# "gh", | |
# "roxygen2", | |
# "covr", | |
# "usethis", | |
# "xml2", | |
# "stringr", | |
# "lubridate", | |
# "protolite", | |
# "jsonlite", | |
# "httr", | |
# "rlang", | |
# "sodium", | |
# "DBI", | |
# "RPostgres", | |
# "devtools")) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment