Hi there,
I am trying to set the "-RLANG" option when SAS is launched (so that I can run R code using PROC IML). On my personal computer, I am able to successfully edit the sasv9.cfg file to add this option, and then I am able to run R code from within PROC IML in SAS Enterprise Guide, no problem.
My issue is that I cannot edit the sasv9.cfg file without admin privileges. This is not a problem on my personal computer, but I cannot edit this file on work computers. As a workaround at work, I can launch SAS with the "-RLANG" option by launching SAS from the command line, but this then opens Base SAS rather than SAS EG (using base SAS in this way, I can run R code within PROC IML no problem).
I am wondering if there is a way to use SAS Enterprise Guide with the "-RLANG" option without needing to edit the sasv9.cfg file. (I am using SAS 9.4 with Enterprise Guide 7.1).
Thanks in advance!
Because -RLANG and -ALLOWXCMD are startup options, these need to be configured by someone with admin privileges. It is possible to conditionally allow these for a subset of users (if the admin doesn't want to open it for all). See the appropriate "usermods.sh" file in the SAS 9.4 admin guide.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.