15.7 Run SAS code
You may run SAS (https://www.sas.com) code using the sas
engine. You need to either make sure the SAS executable is in your environment variable PATH
, or (if you do not know what PATH
means) provide the full path to the SAS executable via the chunk option engine.path
, e.g., engine.path = "C:\\Program Files\\SASHome\\x86\\SASFoundation\\9.3\\sas.exe"
. Below is an example to print out “Hello World”:
```{sas}
data _null_;
put 'Hello, world!';
run;
```