Has anyone found a way to run SAS code from Rstudio?

Reply
Occasional Contributor
Posts: 16

Has anyone found a way to run SAS code from Rstudio?

I really like the RStudio IDE, but only know how to use it with R. I'm wondering if I can run SAS code from it. I googled a little but didn't find anything.

Super User
Super User
Posts: 6,495

Re: Has anyone found a way to run SAS code from Rstudio?

Have you tried the new SAS Studio 3.1 that is available with the latest release of SAS 9.4?

SAS Super FREQ
Posts: 3,474

Re: Has anyone found a way to run SAS code from Rstudio?

No. You cannot run SAS from R. However, you can call R from SAS.

Trusted Advisor
Posts: 1,300

Re: Has anyone found a way to run SAS code from Rstudio?

You can actually run SAS fro RStudio, however, it is probably far more trouble than it would be worth.

Valued Guide
Posts: 3,208

Re: Has anyone found a way to run SAS code from Rstudio?

RstudioIDE (IDE Integrated Development Enviroment).. using SAS I would prefer the SAS IDE that is Eguide or EMinde.
SAS nows the best what is in SAS why would you ignore that all and do something different?

For R I have seen I note at them actually based on batch-scritping to SAS and reading the result. Would agree with FreidEgg on that.  

---->-- ja karman --<-----
SAS Super FREQ
Posts: 3,474

Re: Has anyone found a way to run SAS code from Rstudio?

I should have clarified. Obviously any language that can call out to the operating system can launch a SAS process.

Occasional Contributor
Posts: 16

Re: Has anyone found a way to run SAS code from Rstudio?

Very helpful responses. Thanks!

Ask a Question
Discussion stats
  • 6 replies
  • 716 views
  • 6 likes
  • 5 in conversation