Skip to main content

Oscar: R

Loading and Launching R

1. Once authenticated to Oscar, use the following commands at the command line.

2. Start an interactive job by using the interact command. This command can take additional parameters to extend the resources and time allotted to the node as well as the partition that the node operates on.

3. To load R,  use module load r/4.4.2-re5rjx3, or another version of your preference.

4. Once inside the container's shell, use R to launch the R console.

Installing R packages 

module load r/4.2.2
R