Materials from a 50-minute Invited Presentation at PharmaSUG in San Francisco, California, on May 15, 2023.
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), please see https://github.com/saspy-bffs/pharmasug-2023-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 pages 3-4 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.