Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this page:

Table of Contents

Jupyter Notebook for Python, R, and Julia

The IDAS interface

  • After creating an IDAS instance for research or class use, you will see your IDAS home page. If this is your first time accessing IDAS, your home page will be empty.
  • You can create Jupyter notebooks, files, and folders in IDAS. (See details below.) Click any file or folder to open that file or folder. 
  • In order to navigate back to your IDAS home page, click the Jupyter symbol on the top left corner: Image Removed.

Uploading files

  • You can upload your own Jupyter notebooks and data files to IDAS. After creating an IDAS instance for research or class use, in the top right corner of your IDAS home page, click Upload.
    Image Removed
  • Select the files to upload in your local computer. Once the upload is done, you should see the uploaded files in your directory. 

Creating a new Jupyter notebook

...

First, create an IDAS instance with Python, R, or Julia. If you are a student in a class that uses IDAS, follow the instructions here to access your class instance.

...

In the top right corner of your IDAS home page, click New.

Under Notebook, choose Python, R, or Julia in order to create a notebook in that language. For example, if you had created an instance with Python, you can create a new Jupyter notebook with Python:

...

Image Removed

Managing Jupyter notebooks

...

In your IDAS home page, check the box next to a Jupyter notebook. If the notebook is not currently running, you will have the option to duplicate, rename, move, download, view, edit, or delete that notebook.
Image Removed

...

  • Duplicate: will make a copy of the notebook, stored in the same folder.
  • Rename: will rename the notebook. Enter the new name in the pop-up box, then click Rename.
  • Move: will move the notebook to a destination of your choice. In the pop-up box, enter the destination directory path, then click Move.
  • Download: will download a copy of the notebook to your local computer.
  • View: will open the notebook and allow editing the notebook, including adding cells and running codes.
  • Edit: will allow editing the source code in the notebook.
  • Shutdown: will shut down a notebook that is running.
  • Delete (the red trash can icon): will permanently delete the notebook.
Tip

The path to your IDAS home directory is /home/<your_HawkID>. In the example below, the Jupyter notebook will be moved to the "demo" folder inside the IDAS home directory.

Image Removed

Creating new files and folders

Managing files and folders

File options

  • Below is a summary of the options for a .txt file:
    • Duplicate: will make a copy of the file, stored in the same folder.
    • Rename: will rename the file. Enter the new name in the pop-up box, then click Rename.
    • Move: will move the file to a destination of your choice. In the pop-up box, enter the destination directory path, then click Move.
    • Download: will download a copy of the file to your local computer.
    • View: will open the file for viewing only. No editing.
    • Edit: will allow editing the file.
    • Delete (the red trash can icon): will permanently delete the file.

Tip

The path to your IDAS home directory is /home/<your_HawkID>. In the example below, the .txt file will be moved to the "demo" folder inside the IDAS home directory.

Image Removed

Folder options

...

In your IDAS home page, check the box next to a folder. You will have the option to rename, move, or delete that folder.

Image Removed

...

Tip

The path to your IDAS home directory is /home/<your_HawkID>.

...

Working with Terminal in IDAS

The Terminal allows you to perform more tasks in IDAS, including checking system information, managing files and folders, and installing packages. Below are a few common tasks that may be helpful in IDAS.

Creating a new Terminal session

...

First, create an IDAS instance with Python, R, or Julia. If you are a student in a class that uses IDAS, follow the instructions here to access your class instance.

...

In the top right corner of your IDAS home page, click New.

...

Checking information using Terminal

...

pwd: prints the current working directory. If you are in your IDAS home diretory, the directory will be /home/<your_HawkID>.

...

cd <destination>: change directory to a destination directory. For example,

  • cd demo: changes to the demo directory

  • cd: (with no argument) returns to your home directory 

...

RStudio for R

Creating and saving R scripts

...

Managing files and folders

...

  • New Folder: create a new folder in your current directory. Enter the folder name, and then click OK.
  • 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.
  • 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.
      Image Removed

Using Jupyter Notebooks

To access the Jupyter Hub page and use your notebooks, from your RStudio session, change the end of the URL to "tree".

Specifically for research users (fill in your HawkID):

Info

https://notebooks.hpc.uiowa.edu/research-interactive/user/<your_hawkid>/tree

Shutting down an IDAS instance 

Once you finish your job with the IDAS instance, please shut down the instance, so that resources could be used by other IDAS users.

Warning

Your instance will be forced close after 18 hours of no activities. Please manually shut down your instance when you are done in order to quickly release resources for other IDAS users.

1. Save any scripts or datasets. 

2. If you have an active Jupyter Notebook:

Save any changes by clicking the Save and Checkpoint button under the menu in the top left corner of the screen.
Image Removed

...

3. Then click Control Panel in the top right corner of your Jupyter Hub page.

Image Removed

Info
titleFor RStudio research users

Use this link to go to the Jupyter Hub page (fill in your HawkID):

https://notebooks.hpc.uiowa.edu/research-interactive/user/<your_hawkid>/tree

Click the red button Stop My Server.
Image Removed
Wait a few seconds for the blue button to change to Start My Server.
Image Removed
Close your browser tab.
If you want to use IDAS again, follow these instructions to access IDAS for research use or to access IDAS for class use.In this section:

Accessing IDAS:

Downloading data and file storage in IDAS:

Interfaces in IDAS:

Contact

If you have any questions or comments, please contact research-computing@uiowa.edu.