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.