RStudio
Description
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.
Required Modules
Serial
- rstudio
System Variables
- HPC_{{#uppercase:rstudio}}_DIR - installation directory
Additional Information
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.
- Note
- If you see your mouse cursor offset from the real location in the RStudio window check your RStudio editor font preferences. A known good font is 'DejaVu Sans Mono'.
The easiest way to launch RSTudio within a gui SLURM session is to use the launch_xpra_rstudio command. For example:
[jdoe@gator ~]$ module load rstudio [jdoe@gator ~]$ launch_xpra_rstudio Starting rstudio under Xpra in a SLURM gui session. Requested rstudio memory size: '4gb' Requested '1' processor cores Requested '8' hours for the session Waiting for the job to start as '-n' (nowait) argument was not specified. The rstudio job '123456' has started. Listing all active xpra sessions. Refreshing the session list for jdoe to remove stale sessions List of active Xpra sessions for jdoe: Session: i111a-s222.rc.ufl.edu:3713 Job ID: 123456, Name: RStudio Client command: xpra attach ssh:jdoe@i111a-s222.rc.ufl.edu:3713
Run
launch_xpra_rstudio -h
to see all available arguments to change processor, memory, or time limits. Once the job starts and you get the client command past it into the terminal on your local machine where you have Xpra installed and the 'xpra' command available.