Starting RStudio App¶
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 table, 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.
1. Running Rstudio App¶
First log-on CyVerse DE, open the Apps window and find the Rstudio Lab app by searching for ‘rstudio’.
2. Launch analysis¶
Launch the Rstudio app by selecting an example folder and then clicking launch analysis. You can select different input files and/or folder.
You can use input files to import a script into the app.
You will not see any files when selecting the folder if you selected input by folder. Rest assured that they will be there once the app begins to run.
4. Launch Rstudio¶
In the new URL, enter ‘rstudio’ for both username and password
5. Write/Run your code¶
In the Rstudio script section, you can write your code, generate plots, save plots etc.
As a first step, check that the files you wanted to import are in the app. Go to the bottom right of the app, and check under ‘Files’ for your files.
6. Complete your analysis¶
Complete your analysis by clicking the Analysis window, then select the rstudio analysis and click ‘Complete and Save Outputs’ option under “Analyses” button.
After you had done this, you can find the outputs that you generated (if any) using the same steps as before, but this time selecting ‘Go To Output Folder’.
Currently, VICE can run for 48 hrs beyond which the apps will be terminated. So make sure you run your analysis before 48 hrs.
Fix or improve this documentation