Difference between revisions of "RStudio"
Moskalenko (talk | contribs) |
Moskalenko (talk | contribs) |
||
Line 76: | Line 76: | ||
</pre> | </pre> | ||
+ | ;Note | ||
Run | Run | ||
launch_rstudio_gui -h | launch_rstudio_gui -h |
Revision as of 16:03, 24 August 2016
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_rstudio_gui command from the gui module. For example:
[jdoe@gator ~]$ module load gui [jdoe@gator ~]$ launch_rstudio_gui 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 or (downloaded script): ./xpra attach ssh:jdoe@i111a-s222.rc.ufl.edu:3713
- Note
Run
launch_rstudio_gui -h
to see the help message with 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.