BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
alko13
Quartz | Level 8

Hi there,

 

There is an intent in our site to integrate Viya 3.5 with R and Python.

Plan is to use SAS Studio and ModelStudio to run these codes.

Questions:

If using SAS Studio and Model Studio, where do I need to install the python/R components? We have these servers: (stateless, stateful, CAS, compute)?

 

Anything else that need to be aware of?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
DavidHD
SAS Employee

If everything is configured properly you shouldn't need to configure anything.

 

What you can do is adjust your Autoexec to set things like options set=R_HOME="/R/R-4.0.2/lib64/R";

View solution in original post

4 REPLIES 4
DavidHD
SAS Employee

Hi @alko13 ,

 

Python and R need to be installed on the same machine as your compute - please refer to this documentation

 

For the Proc IML R integration you will also need to set the RLANG option - documentation

 

For Proc FCMP Python integration you will also need to set MAS_M2PATH - documentation

 

If you want to run your Python models in MAS please see this documentation

 

Please note that Proc Python is not available in SAS Viya 3.5.

 

Hope this helps,

David

alko13
Quartz | Level 8

Hi @DavidHD 

 

Thanks for these informative links.

Would also like to ask if  there would be something that needs to be configured on Environment Manager side as well?

 

 

Thanks

 

DavidHD
SAS Employee

If everything is configured properly you shouldn't need to configure anything.

 

What you can do is adjust your Autoexec to set things like options set=R_HOME="/R/R-4.0.2/lib64/R";

alko13
Quartz | Level 8

@DavidHD  do you happen to have a document I can refer to if I want to validate R and Python are working with Model Studio?

 

Thanks!!

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1233 views
  • 3 likes
  • 2 in conversation