Skip to content

Instantly share code, notes, and snippets.

@wjladams
Created February 9, 2019 13:47
Show Gist options
  • Save wjladams/68b5e24e8d38ed708dbbae9f46e60aec to your computer and use it in GitHub Desktop.
Save wjladams/68b5e24e8d38ed708dbbae9f46e60aec to your computer and use it in GitHub Desktop.
Install R on Ubuntu (needed to use R-Studio Server)
# Create the apt list entry for the cran r repository
# This is the repo for Cosmic, if you need another one
cat deb https://cloud.r-project.org/bin/linux/ubuntu cosmic-cran35/ > /etc/apt/sources.list.d/rpojcran.list
# Add the signing key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 51716619E084DAB9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment