Skip to content

Executing SAS Codes in R

7 messages · Peter Maclean, Bert Gunter, Nordlund, Dan (DSHS/RDA) +4 more

#
I certainly hope not!

There are of course many resources on "R for SAS users" and the like.

-- Bert
On Wed, Nov 7, 2012 at 10:24 AM, Peter Maclean <pmaclean2011 at yahoo.com> wrote:

  
    
#
Peter,

I think you will need to clarify what you are trying to do before you will get much useable help.  Obviously, R will not run SAS programs/scripts.  If you are asking if R can call SAS and have SAS run SAS code, then the answer is yes.  There are other options for different levels of integration in between.  So, what is it that you wish to accomplish?

Dan

Daniel Nordlund
Olympia, WA 98504-5204
#
On Nov 7, 2012, at 19:34 , Bert Gunter wrote:

            
fortune("reverse the procedure")

  
    
#
On Nov 7, 2012, at 10:34 AM, Bert Gunter wrote:

            
One could even think of R-help as a distributed support group for recovering-SAS-users.
David Winsemius, MD
Alameda, CA, USA
#
On 08/11/12 09:09, peter dalgaard wrote:
See also fortune("SAS to R parser").

     cheers,

         Rolf
#
On Wed, Nov 7, 2012 at 4:03 PM, Rolf Turner <rolf.turner at xtra.co.nz> wrote:
Yes, all delightful and amusing! But perhaps the OP is looking for
something as simple as

system("sas -SYSIN path/to/sas/script.sas")

Peter M., is that what you were after (calling SAS from R) or are you
really looking to evaluate SAS code inside R?

Best,
Ista