R
R¶
You can use R from a Terminal
. The first time you install a new package you should be asked where to save it. Make sure any packages you install are in the /home/jovyan
directory or they will get deleted.
-
Activate R Console:
-
Help Command:
-
Install Package:
-
List Installed Packages:
-
Exit R Console:
Useful R Docs¶
Version Update¶
The R version has been updated from 4.0.4 to 4.3.0. If you have installed any R packages before this update, you will need to add your previous package directory to R's paths, to be able to use those packages.
Commands (should be executed in R console; replace yourLib
with the path to your R package directory; by default that should have been ~/R/x86_64-pc-linux-gnu-library/4.0
):
To add the directory in paths list:
To make the directory the main library for packages: