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
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";
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
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
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";
@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!!
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.
Find more tutorials on the SAS Users YouTube channel.