BookmarkSubscribeRSS Feed
melissavb77
Calcite | Level 5

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!

1 REPLY 1
ChrisHemedinger
Community Manager

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.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1220 views
  • 1 like
  • 2 in conversation