Difference between revisions of "RStudio"

From UFRC
Jump to navigation Jump to search
m (Text replacement - "#uppercase" to "uc")
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 launch_rstudio_gui command from the gui module. For example:
+
Use the gui module or [https://ood.rc.ufl.edu OnDemand] to start interactive RStudio sessions that you can view in your web browser.
 +
 
 
<pre>
 
<pre>
 
[jdoe@gator ~]$ module load gui
 
[jdoe@gator ~]$ module load gui
[jdoe@gator ~]$ launch_rstudio_gui
+
[jdoe@gator ~]$ gui start -e rstudio
 
+
See 'gui start -h' for arguments to specify a resource request and so on.
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
 
</pre>
 
 
 
;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.
 
  
 
|}}
 
|}}

Revision as of 16:56, 16 April 2020

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.

Required Modules

Serial

  • rstudio

System Variables

  • HPC_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'.

Use the gui module or OnDemand to start interactive RStudio sessions that you can view in your web browser.

[jdoe@gator ~]$ module load gui
[jdoe@gator ~]$ gui start -e rstudio
See 'gui start -h' for arguments to specify a resource request and so on.