R is available on Artemis. You need to load an R "module" before you can run R scripts. See the loading modules guide for more information on software modules.
If you would like to use a newer version of R, submit a High Performance Computing request via the Services Portal.
Example R job
An example single core R job is shown below. Replace <Project> with your project name. Don't include the angle brackets:
|
|
Installing R packages
To install additional Libraries
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
...
|
---|
After it installs you should be good to go. Keep in mind whenever you want to load the library you must specify the location of your library in your R scripts.
library(SoilR, lib="/project/<PROJECT>/myRLibs/")