Architecting, installing and maintaining your SAS environment

how to start\use Jupyter notebook in sas viya

Reply
Contributor
Posts: 60

how to start\use Jupyter notebook in sas viya

How to install jupyter notebook on sas viya. Will it come along with the default sas insatllation or should we install it seperately? If its seperate, then how to install it.

Trusted Advisor
Posts: 1,562

Re: how to start\use Jupyter notebook in sas viya

Hello @AmitSri,

 

while I am not an expert on Jupyter notebooks, here is what I know:

 

- Jupyter notebooks are just (external) clients, where you can "plug-in" and use Python or R code (external as well).

- Hence nothing in Viya per-se, but support for numerous languages, such as Python.

- There is a SAS' Python SWAT that can interact perfectly with CAS (the new engine in Viya)

- I would say that, once you get a Junyper notebook with Python capabilities, you should be able to connect to Viya/CAS easily http://go.documentation.sas.com/?cdcId=pgmcdc&cdcVersion=8.11&docsetId=caspg3&docsetTarget=home.htm&...

import swat
s = swat.CAS("cloud.example.com", 5570)

I highly recommend you the reading of:

 

https://blogs.sas.com/content/sasdummy/2017/06/28/python-swat-sas-viya/

http://go.documentation.sas.com/?cdcId=pgmcdc&cdcVersion=8.11&docsetId=caspg3&docsetTarget=titlepage...

And very important: https://developer.sas.com/home.html

 

Hope it helps!

 

Kind regards,

Juan

Ask a Question
Discussion stats
  • 1 reply
  • 154 views
  • 0 likes
  • 2 in conversation