Skip to content

Commit 262ddf2

Browse files
committed
rstudio
1 parent d24446e commit 262ddf2

3 files changed

Lines changed: 28 additions & 46 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# How to connect to Open OnDemand
2+
3+
Open OnDemand can be described as providing access to your organisation’s computational resources via a web browser. No client software installation is required.
4+
5+
Start computing immediately. A simple interface makes Open OnDemand easy to learn and use. Launch on any device with a browser.
6+
7+
The Open OnDemand (OOD) web interface allows AgResearch staff to access the eRI via a web browser. This article explains how to connect to it.
8+
9+
blue book Instructions
10+
11+
Ensure you are connected the the AgResearch network (direct or via VPN):
12+
13+
Open your web browser and navigate to https://ondemand.eri.agresearch.co.nz/
14+
15+
Authenticate using your username@agresearch.co.nz (or email address) and password when prompted.
16+
17+
Find helpful links in the ‘Help’ menu on the top of the screen.
18+
19+
![alt text](../../assets/images/ood_apps.png)
20+
21+
Select from the options of the top menu bar.
22+
Apps are presented as cards so users can launch an instance in a very simple way.
23+
24+
Open OnDemand is simplifying HPC access to scheduled compute resources for both interactive and non-interactive workloads.
25+
26+
Find the Job Composer (submission templates), browse the project directories and access files, visualise results using available apps.
Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,16 @@
1-
# RStudio via OnDemand
2-
3-
!!! warning
4-
5-
NeSI OnDemand is in development and accessible to early access users only.
6-
If you are interested in helping us test it please [contact us](mailto:support@nesi.org.nz).
1+
# RStudio
72

83
## Logging in
94
![UPDATE WITH PROJECT](../../../assets/images/RStudio_via_OOD_on_NeSI_0.png){width=35%} ![](../../../assets/images/RStudio_via_OOD_on_NeSI_1.png){fig.align="right" width=62%}
105

116
## Settings
127
Recommendation to set *Save Workspace to Never* to avoid saving large files to the workspace. This can be done by going to `Tools` -> `Global Options` -> `General` and setting the `Save workspace to .RData on exit` to `Never`. This will prevent the workspace from being unable to load due to not enough memory in the selected session.
138

14-
## Bugs
15-
169
### Plots not showing
17-
The current R modules on NeSI OnDemand do not support the default graphics device due to a missing depedency, `cairo`. There is a one off fix for this by changing the backend graphics device from `Default` to `AGG` (Anti-Grain Geometry) in the RStudio settings.
10+
The current R modules on OnDemand do not support the default graphics device due to a missing depedency, `cairo`. There is a one off fix for this by changing the backend graphics device from `Default` to `AGG` (Anti-Grain Geometry) in the RStudio settings.
1811

1912
This can be done by going to `Tools` -> `Global Options` -> `Graphics` and switch `Default` to `AGG`. This will allow the plots to be displayed in the RStudio interface. You do not need to restart the RStudio session for this to take effect.
2013

2114
![](../../../assets/images/RStudio_via_OOD_on_NeSI_2.png)
2215

2316
Modules from 4.4 onwards will have this issue fixed.
24-
25-
### Libraries not showing
26-
There is a bug with the R-Geo and R-bundle-Biocondutor libraries not showing up in the RStudio interface. This is a known issue and is being worked on. There are two workarounds for this issue:
27-
28-
1. Manually add the library to `.libPaths()` in the R console as shown below:
29-
30-
```R
31-
myPaths <- .libPaths()
32-
myPaths <- c(myPaths, "/opt/nesi/CS400_centos7_bdw/R-Geo/4.3.2-foss-2023a")
33-
34-
# reorder paths
35-
myPaths <- c(myPaths[1], myPaths[3], myPaths[2])
36-
37-
# reasign the library paths
38-
.libPaths(myPaths)
39-
40-
# confirm the library paths
41-
.libPaths()
42-
[1] "/nesi/home/$USER/R/foss-2023a/4.3"
43-
[2] "/opt/nesi/CS400_centos7_bdw/R-Geo/4.3.2-foss-2023a"
44-
[3] "/opt/nesi/CS400_centos7_bdw/R/4.3.2-foss-2023a/lib64/R/library"
45-
```
46-
2. Permanent fix by adding the library path(s) to the `.Rprofile` file in your home directory. This will automatically add the library path to the R console when it starts up. Copy and Paste the following lines to the file:
47-
48-
```
49-
# CHECK LIBRARY PATHS
50-
myPaths <- .libPaths()
51-
newPaths <- c("/opt/nesi/CS400_centos7_bdw/R-Geo/4.3.1-gimkl-2022a",
52-
"/opt/nesi/CS400_centos7_bdw/R-bundle-Bioconductor/3.17-gimkl-2022a-R-4.3.1>
53-
54-
# join the two lists
55-
myPaths <- c(myPaths, newPaths)
56-
57-
# reassign the library paths
58-
.libPaths(myPaths)
59-
```
60-
NOTE: Replace the paths with the correct paths for the libraries you want to add.

docs/assets/images/ood_apps.png

161 KB
Loading

0 commit comments

Comments
 (0)