From f5809d3b420b2e646d7a291933929f7fdedf9314 Mon Sep 17 00:00:00 2001 From: Andreas Greiner Date: Mon, 6 Dec 2021 12:23:34 +0100 Subject: [PATCH] Added R setup to README.md --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d21f08..2ff35f3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,20 @@ Projektarbeit Assistenzsysteme in R -## R commands +## Language R + +### Setup R on new installation of code-server +To install R on a ned code-server installation, the following command need to be executed. +First you should update and upgrade the server. +>sudo apt update && sudo apt upgrade -y
+ +Then the needed dependencies should be installed and the R repository should be added to the system. +>sudo apt install apt-transport-https software-properties-common
+sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
+sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/'
+ +After these steps are taken, you need to update the apt repositories and install r-base. +>sudo apt update && sudo apt install r-base ### Install new Packages First you need to open the R console with root privileges.