On this page:
Introduction
The following interfaces are available in IDAS:
JupyterLab - available in all IDAS instances (Python, R, RStudio, and Julia)
Jupyter Notebook - available in all IDAS instances (Python, R, RStudio, and Julia)
RStudio - only available in the R and RStudio instances
Research users can quickly switch between JupyterLab, Jupyter Notebook, and RStudio by changing the URL in their web browser. For more information, please see:https://uiowa.atlassian.net/wiki/spaces/hpcdocs/pages/76514933/Accessing+IDAS+for+Research+Use#Switching-between-JupyterLab%2C-Jupyter-Notebook%2C-and-RStudio.
For class users, the interfaces that are available will depend on the programming language requested by the instructor of the class.
This article outlines a few common tasks using RStudio in IDAS. For more information about RStudio, please see the official website for Posit: https://posit.co/
Creating and saving R scripts
After creating an IDAS instance for research or class use, you will see the RStudio interface.
To create a new (blank) R script, click File on the menu bar at the top of your RStudio screen, New File, and then R Script.
To save an R script, click File on the menu bar, and then Save As...
In the pop-up box, enter a name for your script in File name. Click to select a destination for your file. (Click Home to go to your home directory anytime). Click Save.
Managing files and folders
In the lower right quadrant of your screen, the Files tab shows your files and folders. If this is your first time using RStudio, your home directory will only have a folder called R.
Click the Home button to go to your home directory anytime.
Under the Files tab, there are a number of options to manage your files and folders.
Below is a summary of these options:
New Folder: create a new folder in your current directory. Enter the folder name, and then click OK.
New Blank File: create a file from a number of options, including new R scripts, R markdown files, etc.
Upload: upload files from your computer to your current directory in IDAS. Select the files in your local computer, and then click OK.
To upload multiple files or a directory, create a zip file, which will be automatically uncompressed after upload.
Delete: permanently delete a file or folder. Check the box next to a file or folder to select it, click Delete, then Yes.
Rename: rename a file or folder. Check the box next to a file or folder to select it, then click Rename. Enter the new name in the pop-up box, then click OK.
Below is a summary of the options available under More:
Copy: make a copy of a file or folder. Check the box next to a file or folder to select it, click More, then Copy, enter a name for the new file or folder, then click OK.
Copy To: make a copy of a file or folder and save the copy to a directory. Check the box next to a file or folder to select it, click More, then Copy To, enter a name for the new file or folder, select a directory, then click Save.
Move: move the file or folder to a directory of your choice. Check the box next to a file or folder to select it, click More, then Move. In the pop-up box, choose a directory, then click Choose.
Export: download files and folders (see below)
Set As Working Directory: navigate to a directory of your choice, then click this option to choose the current directory as the working directory.
Go To Working Directory: click this option to go to the current working directory.
Show Hidden Files: toggle this option to show or hide hidden files, e.g. files that start with a
.
Downloading files and folders
To download a file, check the box next to it. Click More, then Export. Enter a name for the downloaded file, then click Download.
To download a folder, check the box next to it. Click More, then Export. Enter a name for the downloaded file, then click Download. The folder will be downloaded as a .zip file.
To download multiple files and folders, check the boxes next to those files and folders. Click More, then Export. Enter a name for the downloaded file, then click Download. They will be downloaded as a .zip file.
Contact
If you have any questions or comments, please contact mailto:research-computing@uiowa.edu.