„We give you an edge by extracting more knowledge from your data, enabling you to make the right decision at any time. That’s the commitment we make, that’s the aim of our services, that’s our consultant’s motivation.“

Andreas Mangold, Founder and CEO

Calling R Functions from SAS

Abstract

This paper gives insights into the SAS interface to R which is available since SAS 9.22. The interface is realized as a SAS procedure called PROC IML. Here it is demonstrated how R Code can be submitted from SAS and how SAS data sets are send to R, used for computing and send back to SAS. Questions like “do SAS formats get lost on the way to R” and “how can R graphics be integrated into SAS PDF reports” will be discussed. Also best practice methods for error handling will be introduced.

 

Author

Dr. Peter Bewerunge, Dipl. Ing. (FH) Biotechnology and Software Engineer at HMS Analytical Software.

Download

Download complete tutorial.