As long as SAS is not in your PATH variable, you need to specify its full path with the engine.path option, e.g.

data _null_;
put 'Hello, world!';

I do not have SAS installed on my system so I did not really run the code above (eval=FALSE).

I'm not familiar with SAS either; please feel free to improve the sas engine in knitr.

Try the parsermd package in your browser

Any scripts or data that you put into this service are public.

parsermd documentation built on May 20, 2021, 5:08 p.m.