A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://sassoftware.github.io/sas_kernel/overview.html below:

Overview of SAS kernel — sas_kernel 2.4.13 documentation

sas_kernel Overview of SAS kernel What is this?

A SAS kernel for Jupyter Notebooks. Jupyter Notebooks are capable of running programs in a variety of programming languages and it is the kernel that enables this ability. The SAS kernel enables Jupyter Notebook to provide the following programming experience:

After installing the SAS kernel, you can use a notebook and a SAS installation to write, document, and submit SAS programming statements.

Dependencies

Previous release of the SAS kernel supported connecting to SAS on Linux only. For this release, you can connect to SAS on any platform that is supported for the specified SAS releases.

Jupyter has a number of dependencies. See the subsections for steps on installing Jupyter on your system.

Jupyter magics

The %%prompt4var magic is written specifically for the SAS kernel. The purpose of the magic is to prompt for sensitive information such as a password and store the value in a SAS macro variable.

Seasoned SAS programmers might notice that Python magics begin with a percent sign (%) and that SAS macro variables also begin with a percent sign. To ensure that magics are interpreted by Python, they must be specified in the first line of a notebook cell. Otherwise, the magic (%xxxxx) is submitted to SAS.

If you need to run a SAS macro as the first statement, then insert a blank line as the first line in the notebook cell and the macro on the second line. The blank line prevents Python from intrepreting the macro variable as a magic.

NBExtensions

There are a few NBExtensions to make working with notebooks more productive and pleasant. These are largely the result of pain points and gotchas. These include:

SAS Log
This extension shows the SAS log for the last executed cell or the entire log since the last restart of the notebook.
Themes
This extension enables you to change the color scheme for your code to match the traditional SAS theme.

You can install the extensions after you install the SAS kernel. Installation information is provided in this documentation. The source code for the extensions can be found at https://github.com/sassoftware/sas_kernel/tree/master/sas_kernel/nbextensions.

Integration with other notebook software FAQ

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4