RStudio is a powerful interactive environment dedicated to the R programming language. To utilize RStudio within Open OnDemand, follow these steps:
Make sure you don’t have any commands that produce output in your $HOME/.bashrc
file. Run this command:
source $HOME/.bashrc
and observe if output is produced. If so, remove the command that produces output by editing the file $HOME/.bashrc
.
Upon clicking the Connect to RStudio Server button, the RStudio application interface will appear, offering familiar functionalities and features.
Users are encouraged to utilize RStudio as they typically would in local environments with a few caveats.
The version of RStudio utilized in the compute nodes supports package installation. Packages can be sourced from the NC State CRAN mirror or the Duke CRAN mirror.
In instances where your session is still active, you can re-establish the connection (useful in case of broken connections) via the My Interactive Sessions menu.
Any currently running sessions will be listed, and users can reconnect by clicking the Connect to RStudio Server button.
To properly exit your RStudio session, follow these steps:
While Open OnDemand with RStudio offers substantial advantages, it does come with inherent limitations, including:
If you encounter a 502 Proxy error, it is advisable to check the connection speed of your account logins via the SSH Shell. Slow login times can often lead to Open OnDemand timeout issues. A common culprit is the inclusion of certain commands within the .bashrc file, which may significantly delay login speeds.
For example, users who have added code for Anaconda will need to remove the code from the .bashrc file and relocate it to an alternative file, such as .conda.bashrc, for efficient sourcing when necessary.
Last modified: April 27 2025 01:42:06.