Using RStudio¶
Learning outcomes
- Practice using the documentation of your HPC cluster
- Start RStudio
For teachers
Teaching goals are:
- Learners have practiced using the documentation of their HPC clusters
- Learners have started RStudio
Prior:
- What is RStudio?
- Why is RStudio useful?
Why use RStudio?¶
RStudio is the most popular program to write R code in.
Software developers commonly use programs that help them write
code, with extra features such as a debugger.
Such a program is called an IDE (aj-dee-ee),
short for Integrated Development Environment.
Exercises¶
Need a video?
Here are videos that do this exercises for the different HPC clusters:
| HPC Cluster | YouTube video |
|---|---|
| Bianca | YouTube video |
| COSMOS | YouTube video |
| Dardel | YouTube video |
| Kebnekaise | YouTube video |
| Pelle | YouTube video |
| Rackham | YouTube video |
| Tetralith | YouTube video |
How difficult will this be?
This depends mostly on your HPC cluster:
| HPC Cluster | Difficulty | Reason |
|---|---|---|
| Bianca | Easy | Step-by-step documentation |
| COSMOS | Trivial | Step-by-step documentation, trivial procedure |
| Dardel | Trivial | Step-by-step documentation, trivial procedure |
| Kebnekaise | Trivial | Step-by-step documentation, trivial procedure |
| Pelle | Easy | Step-by-step documentation |
| Rackham | Easy | Step-by-step documentation |
| Tetralith | Easy | Step-by-step documentation |
Exercise 1: start RStudio¶
Use the documentation of your HPC cluster for help.
- Find the user documentation of your HPC cluster
Answer
| HPC cluster | User documentation for that HPC cluster |
|---|---|
| Alvis | Alvis user documentation |
| Bianca | Bianca user documentation |
| COSMOS | COSMOS user documentation |
| Dardel | Dardel user documentation |
| Kebnekaise | Kebnekaise user documentation |
| LUMI | LUMI user documentation |
| Pelle | Pelle user documentation |
| Rackham | Rackham user documentation |
| Tetralith | Tetralith user documentation |
- For maximally 5 minutes, search for the procedure on how to start RStudio on your HPC cluster. Take a look at the answer if you cannot find it: sometimes there is no documentation
Where is that documentation?
| HPC Cluster | Documentation |
|---|---|
| Alvis | UPPMAX documentation |
| Bianca | UPPMAX documentation |
| COSMOS | UPPMAX documentation |
| Dardel | UPPMAX documentation |
| Kebnekaise | UPPMAX documentation |
| LUMI | UPPMAX documentation |
| Pelle | UPPMAX documentation |
| Rackham | UPPMAX documentation |
| Tetralith | UPPMAX documentation |
| Vera | UPPMAX documentation |
- Follow that procedure to start RStudio