Skip to end of metadata
Go to start of metadata


There are two specific Rstudio-server Pro version installed on Computerome. Currently only Rstudio Server version 1.3.1073 with R4.0.0 and R3.6.1 is available. In this page we are going to explain how you can use Rstudio Server and how you can load the other modules inside Rstudio Server environment.


First you need to login to Computerome, you can check the below link to find out how you can login to Computerome:


Login to Computeorme


Once you are logged in you need to get an interactive node as you are not allowed to run your jobs on the login node, you can check on the following page how you can get an interactive node:


How to run jobs on Computerome ( normal and interactive jobs)


Now that you have your interactive node it is time to load Rstudio Server module : 

Tools Module
module load tools

You have to load module tools first and then you are able to load Rstudio Server Module:


Rstudio Server Module
module load rstudio-server/1.3.1073


Note that only version 1.3.1073 works not the other versions.


Now that you have loaded the module you are able to run the following commands and based on the R version that you need you can choose which one you want to run:


Rstudio Serve Commands
rstudio1.3.1073-R.3.6.1-gcc-mkl-install
rstudio1.3.1073-R.3.6.1-install
rstudio1.3.1073-R.4.0.0-gcc-mkl-install
rstudio1.3.1073-R.4.0.0-install


after you have run one of the above commands it will take several seconds and then if Rstudio Server is installed successfully you will see the following message and it means you can go to the next step and try to access the webpage:


The message after Rstudio Server is successfully installed
********************************* Rstudio-Server is running now ********************************
Please follow https://www.computerome.dk/display/C2W/Rstudio+Server to find out the instructions


*****************PLEASE BE AWARE THAT THIS MODULE ONLY WORKS ON COMPUTEROME CLUSTER NOT ON THE CLOUDS*********************
if you need rstudio-server to be running on your cloud please contact computerome@dtu.dk


but if you see the below message it means Rstudio Server has not been installed correctly and you need to contact us :


Installation failure message
--------------------Something went wrong please contact computerome@dtu.dk---------------------


*****************PLEASE BE AWARE THAT THIS MODULE ONLY WORKS ON COMPUTEROME CLUSTER NOT ON THE CLOUDS*********************
if you need rstudio-server to be running on your cloud please contact computerome@dtu.dk



In case that you have Rstudio Server up and running the next step is to create a tunnel to your interactive node over Computerome login node, in order to do that you leave the current terminal open and then you open a new terminal and run the following commands to create the tunnel:

SSH tunnel
ssh -L 8787:<your interactive node name>:8787 <your username>@ssh.computerome.dk


After entering your password and passing the 2 factor authentication step, you open a browser in your computer (Firefox, Chrome, Safari) and then you open this website :


http://localhost:8787


you will see the following website :


 


You can use your Computerome username and password to login and begin to work with Rstudio Server.


If you need any of the Computerome modules (such as anaconda, Cuda, etc ) to be available on your Rstudio Server, you will have to load them inside your R environment, if you need anaconda3/2020.07 to be loaded on your R environment you can run the below command :

Loading Modules inside Rstudio Server
library("RenvModule")
module("load", "tools")
module("load", "anaconda3/2020.07")


You can change anaconda3/2020.07 with any module that you wish to have on your R environment.




  • No labels