SAS University Edition: Help Center

What is Jupyter Notebook in SAS University Edition?

Jupyter Notebook is a web application that enables you to develop and run code in a notebook interface. Jupyter Notebook supports many different analytical engines, or kernels, including one for SAS code. Jupyter Notebook and the SAS Kernel for Jupyter Notebook are included in the SAS University Edition vApp. You can use Jupyter Notebook as an alternative to SAS Studio.

The SAS Kernel for Jupyter Notebook enables you to directly interact with SAS. From Jupyter Notebook, you can write SAS code with syntax highlighting and invoke SAS to execute your code.

In Jupyter Notebook, your work is stored in notebooks (*.ipynb). A Jupyter notebook is a document that includes the input and output from an interactive SAS session as well as additional descriptive rich text elements. You can download the notebook to different formats, including HTML.

When you open Jupyter Notebook in SAS University Edition, your Notebook Dashboard is displayed. The Notebook Dashboard displays your Jupyter notebooks and the files in your myfolders shared folder. Each notebook has one interactive session connected to the SAS kernel. When you open a notebook, the associated SAS kernel is automatically launched. The dashboard indicates whether a notebook is running.

Notebook Dashboard with one running notebook

Jupyter notebooks can consist of three types of cells:

The following notebook contains a markdown cell and a code cell. The code cell includes both the code input and results output.

Class Listing notebook with markdown and code cells