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.
First log-on CyVerse DE, open the Apps window and find the Rstudio Lab app by searching for 'rstudio'.
Launch the Rstudio app by selecting an example folder and then clicking launch analysis. You can select different input files and/or folder.
Tip
You can use input files to import a script into the app.
To use a folder as an input...
Note
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.
Launch the analysis after you are finished selecting the input files (if any).
After the analysis starts running, open your notifications and click on the 'Access your running Analysis here url'.
In the new URL, enter 'rstudio' for both username and password
In the Rstudio script section, you can write your code, generate plots, save plots etc.
Tip
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'.
Warning
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
- On Github: Repo link
- Send feedback: Tutorials@CyVerse.org