1
votes

I have installed SAS Studio in OSX via virtualBoxVM. All seems working except making R run from SAS, which is what I am looking for. Running :

  proc options option=RLANG;
  run;

I get

SAS (r) Proprietary Software Release 9.4  TS1M3
NORLANG           Disables SAS from executing R language statements. 

Changing the Autoexec file to:

-RLANG
-config "/Users/me/SAS/SAS_Base_OpenSrcIntegration/sasv9.cfg"

does not make the trick. Neither changing configuration files...

Any ideas on how to activate RLANG in OSX?

1
Are you using SAS UE? If so, it's not designed to allow R to run from SAS.Reeza
Yes, I am using SAS UE, in OSX. So it seems that there is no way to allow run R from SAS in that edition? No by means of any "trick"?Miguel Vazq
Not that I'm aware of. It is a locked down VM so you can't access cfg file. If you search on Analytics U forum you'll see similar questions and answers.Reeza
Great, so thank you very much. Any other way to install SAS on OSX and access R from it?Miguel Vazq
Are you at a University? You can usually get a full version for free if you are. Otherwise none that I know of. You can try WPS, 30 day free trial, otherwise $1500.Reeza

1 Answers

0
votes

I believe you need to set the RLANG option in the .cfg file, not the autoexec.sas file. Once you do that, restart the SAS server so that it picks up the config change.

I don't have a configuration like this. Let me know if you have problems.

EDIT: You can find the default configuration file in

*SASHOME*/SASFoundation/9.4/nls/sasv9.cfg

The exact location will depend on where SAS is installed, version, etc. In general, look for the NLS folder under SASFoundation.