---
title: "RStudio in 6 steps"
description: "Quick start: launch RStudio as a VICE interactive app, create a project, and terminate the app when you finish."
type: Tutorial
tags:
  - RStudio
  - VICE
  - Quick Start
generated:
  by: "claude/opus-5"
  at: "2026-09-11T00:00:00Z"
sources:
  - id: cyverse-learning-materials
    resource: "https://github.com/CyVerse-learning-materials/learning-materials-home/blob/b7392d21be4fd6a67d051847f98c81a18e058a12/docs/de/vice/quick-rstudio.md"
    title: "CyVerse Learning Materials: docs/de/vice/quick-rstudio.md"
    author: "team:cyverse"
    last_modified: "2025-03-16T09:25:29-07:00"
---

# RStudio in 6 steps

## 1. Log into Discovery Environment

Log into <https://de.cyverse.org>

If you have not yet created an account, go to the [User Portal](https://user.cyverse.org){target=_blank} and sign up.

## 2. Launch the App

[![rstudio_1]][rstudio_1]

  [rstudio_1]: https://unm-carc.github.io/cyverse/assets/de/rstudio_1.png

Click on the **Apps** grid icon

[RStudio Verse](https://de.cyverse.org/apps/de/3548f43a-bed1-11e9-af16-008cfa5ae621/launch){target=_blank} is in "Featured Apps".

[Instant Launches](https://de.cyverse.org/instantlaunches){target=_blank} start Apps immediately when clicked.

The conventional launch menu allows you to modify the App parameters. You can add input data, increase the amount of RAM or CPU cores, and change the analysis directory.

[![!rstudio_2](https://unm-carc.github.io/cyverse/assets/de/rstudio_2.png "rstudio_2")](https://de.cyverse.org/apps/de/3548f43a-bed1-11e9-af16-008cfa5ae621/launch)

## 3. Open the Analysis

After you have started a VICE app, a new tab will automatically open in your browser and take you to the loading screen.

[![rstudio_3]][rstudio_3]

  [rstudio_3]: https://unm-carc.github.io/cyverse/assets/de/rstudio_3.png


Once the app is ready, it will transition to the user interface. 

[![rstudio_4]][rstudio_4]

  [rstudio_4]: https://unm-carc.github.io/cyverse/assets/de/rstudio_4.png


**RStudio Interface:** 
RStudio is a free, open source IDE (integrated development environment) for R. 
Its interface is organized so that the user can clearly view graphs, data tables, R code and ouput at the same time. 
It also offers an Import-Wizard-like feature that allows users to import CSV, Excel, SAS (*.sas7bdat), SPSS (*.sav), and Stata (\*.dta) files into R without having to write the code to do so.

More information about RStudio can be found [here](https://www.rstudio.com/products/rstudio/){target=_blank}.

!!! note "Long wait times?"
  
    Normal wait time for a featured VICE app to launch is less than 2 minutes. If you're experiencing a significantly longer wait, consider terminating the Analysis and starting a new one.

## 4. Create an RStudio Project

You can create RStudio projects using local data, or from Git.

[![rstudio_5]][rstudio_5]

  [rstudio_5]: https://unm-carc.github.io/cyverse/assets/de/rstudio_5.png

This example uses [Leaflet Maps](https://github.com/rstudio/leaflet){target=_blank} in RStudio.

[![rstudio_6]][rstudio_6]

  [rstudio_6]: https://unm-carc.github.io/cyverse/assets/de/rstudio_6.png

You can then run R commands and install packages.

[![rstudio_7]][rstudio_7]

  [rstudio_7]: https://unm-carc.github.io/cyverse/assets/de/rstudio_7.png

[![rstudio_8]][rstudio_8]

  [rstudio_8]: https://unm-carc.github.io/cyverse/assets/de/rstudio_8.png

## 5. Terminate your app

The Discovery Environment is a shared system. In fairness to the community, users should "Terminate" any apps that
are no longer actively running analyses.

In the Analyses window, select the app (by clicking the checkbox next to it), then select "More Actions", then "Terminate" to shut down the app.

[![rstudio_9]][rstudio_9]

  [rstudio_9]: https://unm-carc.github.io/cyverse/assets/de/rstudio_9.png


Any new data in the `/home/rstudio/data-store/data/output` directory will begin copying back to your folder at this time.

Any input data which you added when the app started using the conventional launch feature will *not* be copied.

!!! warning "Automatic Termination and Extension"

    VICE apps run for a pre-determined amount of time, typically between 4 and 48 hours. 
    If you have opted for email notifications from the DE, then you'll get a notification 1 day before and another 1 hour before the app will terminate. 
    
    To extend the pre-set run time, go to your analysis and click the hour glass icon which automatically extends the app run time.

<p class="carc-provenance" markdown>Adapted from [CyVerse Learning Materials](https://github.com/CyVerse-learning-materials/learning-materials-home/blob/b7392d21be4fd6a67d051847f98c81a18e058a12/docs/de/vice/quick-rstudio.md){target=_blank} (last source update 2025-03-16), CC BY 4.0. Spotted a problem? [Open an issue](https://github.com/UNM-CARC/cyverse/issues){target=_blank}.</p>
