Skip to main content
Texas Tech University

R Studio

The TTU HPCC Open OnDemand dashboard allows users to launch an RStudio Server environment directly within their web browser without requiring a local installation. RStudio Server provides an integrated development environment (IDE) for R programming, statistical computing, data analysis, and visualization while utilizing the computational resources of the HPCC cluster.

Steps to start an OOD RStudio Server session

1. Navigate to the Open OnDemand Dashboard.

2. Enter your eRaider username and password to authenticate and log in to the Open OnDemand portal.

3. To open the RStudio Server Interactive App, you can do one of the following:
       From the Interactive Apps menu, select >  RStudio Server.


                                Interactive Apps Menu Dropdown showing the Programming and Analysis Interactive  Apps List
      From the Pinned Apps section under Programming and Analysis, choose RStudio Server.

                       Displays the pinned apps section containing the programming and analysis interactive apps

4. Complete the form with the appropriate resource requirements and configuration options, and click Launch to start the RStudio Server session.

    •  Slurm Account (optional) – Enter the Slurm account name if you are using dedicated or special computational resources. Leave this field empty to use the default account.
    • Slurm Reservation (optional) – Enter the Slurm reservation name if one has been assigned to you. Otherwise, leave this field empty.
    • Partition – Select the desired computational partition from the available options: nocona (AMD CPU), quanah (Intel CPU), or interactive-ivy (recommended and selected by default).
    • Number of CPU Cores (1–10) – Specify the number of CPU cores required for your RStudio Server session. Each session runs on a single worker node.
    • Memory per CPU Core (optional) – Specify the amount of memory required per CPU core. If left empty, the default memory allocation per CPU core will be used.
    • Max Walltime – Specify the maximum number of hours the RStudio Server session will run. The value must be an integer.
    • Working Directory (optional) – Select the directory in which you would like to work. If not specified, your home directory ($HOME) will be used.
    • R Version – Select the desired R version from the drop-down menu. R 4.6.1 is selected by default. Each R version is provided through a dedicated Apptainer image that includes RStudio Server, the tidyverse, and geospatial packages such as sf, terra, and stars, along with GDAL, GEOS, and PROJ.
    • Save Settings – Select this option to retain the configured settings for future sessions.
      Note: R packages installed by users are stored in a version-specific directory under ~/R/ood/. For example, packages installed using R 4.6.1 are stored in ~/R/ood/4.6.

The RStudio Server session data can be accessed through the data root link located at the bottom of the application form.

5. Once you click Launch, you will be redirected to My Interactive Sessions, where you can monitor the status of your RStudio Server session. The session may remain queued until the requested computational resources become available.
                   Displays the Rstudio Interactive App Session in Queued State after Launching
6. Once your session begins running, click Connect to RStudio Server to access the RStudio environment. Please allow a few moments for the application to load.     

                        Displays the Rstudio Interactive App Session in Runinng State after Launching

7. You are now in your RStudio Server environment, where you can create and execute R scripts, perform statistical analyses, manage R packages, generate visualizations, and access files stored on the HPCC file systems.

                 Displays the Rstudio Interactive App Session Window

Note: After completing your work, save any changes, close the application window, and ensure that the corresponding session is terminated from the My Interactive Sessions page. Closing the application window alone does not necessarily terminate the session. Verify that the session status is displayed as Completed to ensure that the allocated computational resources have been released and made available to other users. Any unwanted sessions can be removed using the Delete button.

                                       Rstudio Interactive App session in completed state