The Research Computing team currently runs 2 supported instances of RStudio:
This instance is for general teaching use and is part of the Data Science Platform. It uses the central UNIX filestore for user data. Access is blocked by default due to licencing restrictions.
Staff who would like to use the service to deliver teaching should email email@example.com to request access (please include your UCL username). To grant access to students, please pre-register the course by emailing the above address and provide the SITS code of the relevant module(s) and a pdf or link to the syllabus. Students who are registered on those SITS modules will then be added automatically.
In addition we have a smalll number of Named Researcher licenses for RStudio Pro which also run on this instance. Staff and Research Postgraduates who would like to have access to one of these licenses should email firstname.lastname@example.org to request access explaining why they need to use RStudio.
The Data Science Platform and all of its components are only accessible from the UCL network. When off campus, you will need to connect to the UCL VPN first or when working from China, the China Connect Service.
Please note: The main aim of this service is to support teaching and the service should not be used for computationally intensive research. If your use starts to affect the experience of other users, we reserve the right to terminate sessions without notice. For computationally intensive research you should be using the Myriad Cluster.
This instance is for research use by members of the Economics department. It uses the Myriad filesystem for user data.
Installing R Packages§
Users can install R packages in their home directories, but we recommend that if you are planning on teaching a course, you make sure the packages you want to use are pre-installed on the system. This saves time and reduces the load on the server.
The main version of R used by the RStudio server copies it's packages from the Myriad Cluster, so any package available there should be available in RStudio too. There's an automatically updated list here: R packages. Alternatively, check the list of available packages from within RStudio itself.
Requests to install packages can be sent to email@example.com. Please give as much notice as possible when requesting packages as these requests will be handled on a best efforts basis by the research computing applications support team.
Troubleshooting and problem pre-emption§
For all of the services, please take care to either run
q() in the R
window or press the red logout button in the top right hand corner
when you are done with the window, DO NOT just close the tab. This
decreases the chance of there being stale sessions and future issues
with logging in.
Not being able to reach the landing (login) page§
If you cannot reach the landing page, then please first try getting there using private browsing and if that works then clear your cookies and cache. In most browsers you can do this for a certain time range, though look at the documentation for the browser you are using.
R session not starting or RStudio Initialisation Error§
If you get an error pop-up RStudio Initialisation Error: Unable to connect to service or an ever-spinning loading screen you can try and resolve the problem using one of the methods below or get in touch with RC support.
There are 2 courses of action for the 2 supported services:
- Economics RStudio service: ssh into Myriad and change the name of or delete a folder located at:
Data Science Platform RStudio Pro teaching service: This service shares home directories with the central Unix services so you need to do:
- login to either Socrates (
socrates.ucl.ac.uk) or Aristotle (
aristotle.rc.ucl.ac.uk) via SSH. If you don't know how to do this there are istructions here: l,ogging in via SSH
Change directory to ~/.local/share:
delete the rstudio folder:
rm -rf rstudio
It is worth testing if you can login to RStudio after the last step. If you still cannot login, delete the folllowing directory as well:
rm -rf sessions
- login to either Socrates (
If doing this doesn't resolve your issues, get in touch with RC support .