Skip to content

RStudio

Description

rstudio website

RStudio is an integrated development environment (IDE) for R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.

R is a language and environment for statistical computing and graphics. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, and so on) and graphical techniques, and is highly extensible.

Environment Modules

Run module spider rstudio to find out what environment modules are available for this application.

Environment Variables

Additional Usage Information

The recommended way to run RStudio on HiPerGator is to start it in Open OnDemand.

When RStudio starts the file browser will be limited to your home directory. To navigate to /blue or /orange, there are two main options:

E.g.

$ cd
$ ln -s /blue/MYGROUP/$USER/ blue
where MYGROUP is your real group name

After you create a symlink you'll be able to go into the blue directory in the RStudio file browser under home.

Option 2: Change your working directory using R console:

Click on the 'Gear' menu in the RStudio file browser and choose 'Synchronize Working Directory'.

Screenshot of RStudio highlighting the 'Synchronize Working Directory' option

Then run the following command in the RStudo REPL and the file browser should immediately reflect the new working directory.

setwd('/blue/MYGROUP/MYUSER/')

RStudio on ResVault:

To launch RStudio on ResVault use the command $ rstudio --no-sandbox and if you have additional drives linked to your VM, bind mount those drives with the flag -B /drives/drive_name

Categories

statistics