Difference between revisions of "RStudio"

From UFRC
Jump to navigation Jump to search
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Software]]
+
[[Category:Software]][[Category:Statistics]]
 
{|<!--CONFIGURATION: REQUIRED-->
 
{|<!--CONFIGURATION: REQUIRED-->
 
|{{#vardefine:app|rstudio}}
 
|{{#vardefine:app|rstudio}}
Line 21: Line 21:
  
 
<!--Modules-->
 
<!--Modules-->
==Required Modules==
+
==Environment Modules==
===Serial===
+
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
* {{#var:app}}
 
<!--
 
===Parallel (OpenMP)===
 
* intel
 
* {{#var:app}}
 
===Parallel (MPI)===
 
* intel
 
* openmpi
 
* {{#var:app}}
 
-->
 
 
==System Variables==
 
==System Variables==
* HPC_{{#uppercase:{{#var:app}}}}_DIR - installation directory
+
* HPC_{{uc:{{#var:app}}}}_DIR - installation directory
 
<!--Configuration-->
 
<!--Configuration-->
 
{{#if: {{#var: conf}}|==Configuration==
 
{{#if: {{#var: conf}}|==Configuration==
Line 44: Line 34:
 
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.
 
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:
+
The recommended way to run RStudio on HiPerGator is to start it in [[Open_OnDemand|Open OnDemand]].
: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'.
+
 
 +
Alternatively, you can use the gui module to start an interactive RStudio sessions that you can view in your web browser. See [[GUI Programs]] for more details.
  
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 gui
 
[jdoe@gator ~]$ module load gui
[jdoe@gator ~]$ launch_rstudio_gui
+
[jdoe@gator ~]$ gui start -e rstudio
  
Starting rstudio under Xpra in a SLURM gui session.
+
To load a specific version:
 +
[jdoe@gator ~]$ gui start -e rstudio --module rstudio/1.1.453
  
Requested rstudio memory size: '4gb'
+
See 'gui start -h' for arguments to specify a resource request and so on.
  
Requested '1' processor cores
+
;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'.
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>
 
 
 
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 21:59, 21 August 2022

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.

Environment Modules

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

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.

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

Alternatively, you can use the gui module to start an interactive RStudio sessions that you can view in your web browser. See GUI Programs for more details.

[jdoe@gator ~]$ module load gui
[jdoe@gator ~]$ gui start -e rstudio

To load a specific version:
[jdoe@gator ~]$ gui start -e rstudio --module rstudio/1.1.453

See 'gui start -h' for arguments to specify a resource request and so on.

;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'.