Comment on page


Recovering an unresponsive RStudio session

In certain cases RStudio sessions can become unresponsive, due to large amounts of output printed or large amount of data loaded. If restarting the application in Nuvolos doesn't resolve the issue, you can follow the steps in the Application Troubleshooting guide to clear the application state.

RStudio is responsive but it doesn't accept commands

If you can interact with the RStudio window (menu items are working, dropdowns open, etc.) but commands you try to run in R will not execute, it might be that the R console is showing a plus sign at the start of the line:
R waiting for further input
If this is the case, R is waiting for further input. As you can see in the above example, a curly brace was open, and R waits the curly brace to be closed for the expression to be complete (and executable).
If you want to cancel the statement, make sure to focus on the R console in RStudio by clicking on it, then hit the Escape button on your keyboard.
After the cancelled statement

Using Tensorflow and Keras with RStudio

Tensorflow and Keras can be installed via miniconda in Rstudio. To install them, use the following steps:
  1. 1.
    Restart the R session to be in a clean setting (select Session > Quit Session on the top menu)
  2. 2.
    Make sure reticulate can use miniconda via running in the R commands:
3. Install tensorflow R package and then call the install_tensorflow() function. If you would like to use GPU acceleration, run install_tensorflow(version="gpu"):
install_tensorflow() # use install_tensorflow(version = "gpu") for GPU support
4. Install Keras R package and then call the install_keras() function:
To test the installation, follow the example from the RStudio website:
Last modified 9mo ago