Running RStudio

Starting Sid

In all cases you need to start Sid

Running RStudio

  • Select RStudio

  • Select Version

  • Click Google drive (login if necessary)

  • Select CPU/RAM

  • Click Launch Application

  • Wait until URL is visible. The status will change from Initializing to Running

  • Click on the URL

You can now create a RStudio Project.

Accessing Google Drive

Upon launching RStudio, your Google drive will be accessible from the file browser pane, located in the lower, right-hand corner of the window.

Installing and Using R Libraries

Using R libraries in RStudio is easy. Run the library command in the Console tab:

If a library is not available and get an error like this. In this case the `dslabs` library is missing:

Install the package from within your notebook with:

Installing System Libraries

Some R libraries require additional system libraries. If the required system libraries are not installed, install.packages() will report an error like this:

To install additional system libraries, use the R function system() to run sudo apt-get update and sudo apt-get install to install the Debian packages:

If you are comfortable with programming external service calls, you can also use the https://sysreqs.r-hub.io/ service to automatically detect which system libraries are needed. (example)

Last updated

Was this helpful?