Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| software:r:r [2018-04-26 13:08] – sraskar | software:r:r [2021-02-24 16:41] (current) – [Details by clusters] anita | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Using R ====== | ||
| + | R is a free software environment for statistical computing and graphics. | ||
| + | main website for R is located at the [[http:// | ||
| + | R is a free implementation of the S language. | ||
| + | |||
| + | ==== Running R ==== | ||
| + | |||
| + | === Loading R === | ||
| + | Checking for available R installations can be done with VALET as such: | ||
| + | |||
| + | < | ||
| + | $ vpkg_versions | ||
| + | Available versions in package (* = default version): | ||
| + | |||
| + | [/ | ||
| + | r The R Project for Statistical Computing | ||
| + | * 3.1.1 Version 3.1.1 | ||
| + | 3 alias to r/3.1 | ||
| + | 3.1 alias to r/3.1.1 | ||
| + | |||
| + | $ vpkg_require r/3 | ||
| + | </ | ||
| + | |||
| + | === Interactive R === | ||
| + | For interactive R sessions, make sure you use '' | ||
| + | |||
| + | < | ||
| + | $ vpkg_require r | ||
| + | Adding package `r/3.1.1` to your environment | ||
| + | </ | ||
| + | |||
| + | and then you can execute | ||
| + | |||
| + | < | ||
| + | $ R | ||
| + | </ | ||
| + | |||
| + | Additionally, | ||
| + | try | ||
| + | |||
| + | < | ||
| + | $ R -q --no-save | ||
| + | </ | ||
| + | |||
| + | === Scheduling R === | ||
| + | See the [[# | ||
| + | information on running R in batch. | ||
| + | |||
| + | Most simply from a compute node, you can execute | ||
| + | |||
| + | < | ||
| + | $ Rscript / | ||
| + | </ | ||
| + | |||
| + | =====Details by cluster===== | ||
| + | * [[software: | ||
| + | * [[software: | ||
| + | |||
| + | =====Additional Resources ===== | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[https:// | ||