Materials from a 50-minute Invited Presentation at Western Users of SAS Software in San Francisco, California, on September 15, 2022.
Materials provided:
-
Full conference paper examples as a .sas file, with several example use cases for embedding Python code inside of SAS programs
If you're interested in the opposite direction (embedding SAS code inside of Python), see https://github.com/saspy-bffs/wuss-2022-class
The .sas example file requires SAS 9.4M6 or newer, along with an installation of Python 2.7 or higher in the same environment. In addition, as explained on page 3 of the paper, environment variables MAS_M2PATH
and MAS_PYPATH
need to be set to allow SAS to talk with Python.
Some of the examples also rely on specific Python packages being installed, as explained on pages 2-3 of the paper.
This project is licensed under the MIT License. See the LICENSE file for details.
This project is in no way affiliated with SAS Institute Inc.