Getting started - SAS Engine for Rmarkdown To get started using SAS as your statistical software/data processing “engine” take a look at the following article: http://www.ssc.wisc.edu/~hemken/SASworkshops/Markdown/SASmarkdown.html.
Also read up on the SASmarkdown package https://cran.