Can R execute a SAS program?

I have a SAS program that import a lot of data and transform them to an Excel file. I would like to use RMarkdown to make reports and plots based on the new datasets provided by the SAS program.
The problem is that every time that I want to run R to import from excel and make my reports, I need to execute SAS first. Is there any function that I can use to make R execute the SAS program for me?

Take a look at this. I've not done it myself but it might help: 15.7 Run SAS code | R Markdown Cookbook

I do call R from SAS but that doesn't help much with markdown work flow.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.