Added R setup to README.md
This commit is contained in:
parent
26bc6c0ea4
commit
f5809d3b42
15
README.md
15
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<br>
|
||||
|
||||
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<br>
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9<br>
|
||||
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/'<br>
|
||||
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user