Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We also have two other versions of R installed "side by side" – R-3.4.4 and R-34.50.3  – which can be accessed by typing R-3.4.4,  R-34.50.3 from the command line. However these R versions are not available in R Studio Server because its R version setting can only be set to one value system-wide and cannot be specified per-user.

...

If you need a GUI environment to access versions of R other than 3.6.1, an option that provides maximum per-user flexibility is as follows. Use the R Studio Server web application for R 3.6.1-compatible workflows. For workflows requiring other R versions, users can install the R Studio desktop application on their own desktop/laptop computers, using an underlying version(s) of R 3.4/34.50. Then, users can access files on shared storage by mounting their Work area file system via Samba (see Samba remote file system access for more information). The main drawback to this workflow is that typical personal computers do not have as much RAM as POD compute servers, and some R tasks can be memory intensive. What users can do in such cases is test the code in R Studio on their desktop computer, using smaller data sets if necessary. Then run the "full" workflow from the POD compute server command line using the appropriate R version.

...

  • R 3.4.4
    • /usr/lib/R/library
    • /usr/lib/R/site-library
  • R 3.56.31 /stor/system/opt/R/R-3.56.31/lib/R/library
  • R 34.60.13 /stor/system/opt/R/R-34.60.13/lib/R/library

Local/Global package installation conflicts

...

Tip

Large .RData files can be extremely slow to load from both R and R Studio Server. If you must save R data this way, consider renaming the .RData file to a different name so that it can be loaded explicitly only when needed, instead of always when R is invoked.

"This site can't be reached" browser error

An error like "This site can't be reached; ERR_CONNECTION_RESET" (Windows) may indicate a browser-related security issue.

  • Make sure the browser software being used is the latest version.
  • Try different browsers (e.g. Firefox instead of Chrome, Microsoft Edge, or Safari). 
    • A different browser may indicate that there are security risks with accessing the website, but give the option to accept the risk and go ahead.

Disk quota exceeded

Another type of problem can arise when a user's 100 GB Home directory quota has been exceeded (not applicable on the EDU pod). This can produce errors when trying to start R Studio Server or R, perform work in R, or even install additional packages. For example, you may see a "Cannot connect to service" message after logging in to R Studio Server. Or, if an R session has been established and saving a new file would exceed the Home directory quota, users will often (but not always) see an error like the following:

...