Difference between revisions of "RStudio"
Moskalenko (talk | contribs) |
Moskalenko (talk | contribs) |
||
Line 47: | Line 47: | ||
: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'. | :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 | + | 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: |
<pre> | <pre> | ||
− | [jdoe@gator ~]$ module load | + | [jdoe@gator ~]$ module load gui |
− | [jdoe@gator ~]$ | + | [jdoe@gator ~]$ launch_rstudio_gui |
Starting rstudio under Xpra in a SLURM gui session. | Starting rstudio under Xpra in a SLURM gui session. | ||
Line 72: | Line 72: | ||
Client command: | Client command: | ||
xpra attach ssh:jdoe@i111a-s222.rc.ufl.edu:3713 | xpra attach ssh:jdoe@i111a-s222.rc.ufl.edu:3713 | ||
+ | or (downloaded script): | ||
+ | ./xpra attach ssh:jdoe@i111a-s222.rc.ufl.edu:3713 | ||
</pre> | </pre> | ||
Revision as of 16:02, 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
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.