RStudio on Tetralith¶
Why is this page at UPPMAX?
It is the intention that this guide is moved to the C3SE documentation. However, it has not been suggested to be added to their documentaton yet.

Introduction¶
RStudio is an IDE specialized for the R programming language.
In this session, we show how to use RStudio on Tetralith.
As RStudio is a resource-heavy program, it must be run on an interactive session.
Procedure to start RStudio¶
Below is a step-by-step procedure to start RStudio on Tetralith.
Prefer a video?
This procedure is also demonstrated in TODO.
1. Start a Tetralith remote desktop environment¶
Follow the NSC documentation to login to the Tetralith remote desktop environment.
2. Start an interactive session¶
Within the Tetralith remote desktop environment, start a terminal.
Within that terminal, start an interactive session with 2 cores:
Where:
[naiss_project_id]is your UPPMAX project code[duration]is the duration of the interactive session
Resulting in, for example:
How does that look like?

Click on 'Terminal Emulator' to start a terminal

Paste the command into the terminal
Why two cores?
RStudio is a resource-heavy program. Due to this, we recommend using at least two cores for a more pleasant user experience.
You will now be on a compute node, as indicated by the terminal prompt.
How does that look like?

The prompt indicates being on n132,
which is a Tetralith compute node.
3. Load the modules needed¶
In the terminal of the interactive session, do:
How does that look like?

The terminal after loading the RStudio module
4. Start RStudio¶
With the modules loaded, start RStudio from the terminal (on the interactive session):
How does that look like?

Type
rstudioand press enter
5. Ignore update¶
In RStudio, when asked, click 'Ignore Update'.
How does that look like?

Click 'Ignore Update'
6. Allow automatic crash reporting¶
In RStudio, when asked whether to automatically upload crash reports, click your preferred option.
How does that look like?

Click your favorite option
7. Done¶
You are now in RStudio!
