BookmarkSubscribeRSS Feed

Which Open-Source Packages are included in SAS Viya for Learners?

Started ‎03-03-2023 by
Modified ‎03-23-2023 by
Views 1,017

Are you an academic using SAS Viya for Learners (VFL) wondering, “what open-source packages are part of SAS Viya for Learners”?  Perhaps you’re a lover of both SAS and Python and R – and want to know if your favorite open-source tools are already configured on VFL.  Or you’re new to SAS – and would still like to use some of your go-to analytical tools in a Jupyter Notebook, while leveraging the multitenancy + cloud environment of VFL. Well, then this library article is for you.

 

We’ll start our journey right after launching SAS Viya for Learners – and I’ll demo on SAS VFL3.5.  From SAS Drive, you’ll find the launch Jupyter icon is the bottom-middle of the webpage:

LGroves_0-1677866323237.png

 

Click that button to launch Jupyter in a new browser.  Then examine the “Launcher” options:

LGroves_1-1677866323279.png

 

Let’s focus on the Python packages first because, well, it’s listed first.  Click on the Python 3 icon to launch a Python Notebook:

LGroves_2-1677866323287.png

 

You’re now one step away from the answer!

 

Type help("modules") into the command line and then run the cell as follows:

LGroves_3-1677866323293.png

 

Scroll through the output just a little bit, and you’ll find the list of all Python packages available in VFL:

LGroves_4-1677866323355.png

 

The list goes on and on – so happy scrolling and I hope that your package is there!

 

The process is very similar for R.  Find the New Launcher button in the upper right-hand corner:

LGroves_5-1677866323362.png

 

Select the R Notebook is this iteration:

LGroves_6-1677866323374.png

 

Your R command is now: installed.packages().  Submit the command after typing this in:

LGroves_7-1677866323382.png

 

And just like that, you have a fun list of R packages to read through:

LGroves_8-1677866323426.png

 

One outstanding, logical question is this: what if your favorite Python or R package is not included in the pre-installed VFL environment?  Can you easily add the package?

 

Unfortunately, the answer to that is no.  To ensure the stability of VFL, as well as a good experience for all users, only SAS administrators can install new open-source packages.  And while we can take your recommendations for new content, there is no guarantee that we can fulfill that request.  Sorry!

Comments

These SAS Community Posts were part of a larger effort to support student engagement in the 2023 SAS Hackathon.  Please find the full series below:

 

Version history
Last update:
‎03-23-2023 09:22 AM
Updated by:

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags