BookmarkSubscribeRSS Feed

How Do I Use Open Source with SAS® Viya®? Q&A, Slides, and On-Demand Recording

Started ‎06-16-2022 by
Modified ‎12-06-2022 by
Views 11,512

Watch this Ask the Expert session to learn the many ways SAS Viya integrates with open source. 

 

Watch the webinar

 

You will learn how to:

  • Access the power of SAS using your existing skills, like SAS, open source or other programming skills.
  • Use Python or R in the analytical flow of pipelines.
  • Use Python or R through the SWAT package.
  • Use the Python Editor within SAS Studio.

The questions from the Q&A segment held at the end of the webinar are listed below and the slides from the webinar are attached.

 

Q&A

Is there integration with SAS9 and Open Source? 

Yes. You can use SASPy with SAS9. There is also integration with SAS Enterprise Miner, SAS/IML and the Base Java Object.  

 

Links 

 

What version of R will work with SAS Viya? 

Any version will work with SAS Viya. You need to use the same version to build the models and to deploy the models. 

 

What version of Python will work with SAS Viya? 

Any version will work with SAS Viya. You need to use the same version to build the models and to deploy the models. 

 

Can I use both Python and R in the same Jupyter Notebook? 

No. You can only connect to one language in the Jupyter Notebook. 

 

Where do I download the SWAT Package? 

You can download from GitHub or you can do a pip install from Python. For R there are three packages you need to install before you install SWAT. 

SAS GitHub page for SWAT-Python 

SAS GitHub page for SWAT-R 

 

Does the open source software get installed on the same machine as the SAS software, or do you have the option of installing the open source software on a separate machine? I would like to see the architecture and options available. 

For Model Studio and SAS Studio, Python or R must be installed on the same machine as the compute server. Documentation for configuring SAS Viya with R and Python can be found in the SAS Viya Administration documentation here. 

 

When using the Open Code node in Model Studio, is Python installed on CAS controller or SAS Compute?  

For Model Studio and SAS Studio, Python or R must be installed on the same machine as the compute server. 

 

Does the model integration work in SAS Enterprise Guide or only in SAS Studio? 

You can do the model comparison in Model Studio. SAS Enterprise Guide does not have any open source integration built in. You can use the Base SAS Java Object in your programs if you want to submit open source code from your SAS programs within SAS Enterprise Guide. 

 

For SAS Viya 4, is there a Jupyter hub container or does it still need a traditional Linux install? 

Please reach out to tech support for this inquiry.   

 

Can I please get the SWAT integration setup doc? 

https://github.com/sassoftware/sas-viya-the-python-perspective/blob/main/Chapter%201%20-%20Installin... 

 

What would you recommend to develop some advanced funnel visualization? Using some open source capability? 

Depending on what visualizations or analysis you are looking for, there are objects in SAS Visual Analytics as well as CAS actions. 

 

Do you have details on how to configure SAS Viya and CAS to use R and Python? We are looking to work with Python and R using Viya but wanting to know how this setup would work. You mentioned about R/Python being installed on the compute nodes? 

For Model Studio and SAS Studio, Python or R must be installed on the same machine as the compute server. Documentation for configuring SAS Viya with R and Python can be found in the SAS Viya Administration documentation here. If you need additional information, please contact SAS Technical Support at support@sas.com. 

 

 

Recommended Resources

SAS opens its code editor interface to Python users

SAS Programming Guides

SAS Software GitHub

SAS and Open Source - Designed to be Open

Please see additional resources in the attached slide deck.

 

Want more tips? Be sure to subscribe to the Ask the Expert board to receive follow up Q&A, slides and recordings from other SAS Ask the Expert webinars.  

 

Contributors
Version history
Last update:
‎12-06-2022 02:32 PM
Updated by:

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Article Labels
Article Tags