Language Reference
Calling SAS Statements or R Functions
- SUBMIT statement
calls SAS procedures, DATA steps, or macros. You can also use the R option to call functions in the R language.
- ENDSUBMIT statement
defines a block of submitted statements. All statements between the SUBMIT and ENDSUBMIT statements are sent to the SAS System or R for processing.
- EXPORTDATASETTOR call
transfers data from a SAS data set into an R data frame
- EXPORTMATRIXTOR call
transfers data from a SAS/IML matrix into an R matrix
- EXPORTTABLETOR call
transfers data from a SAS/IML table into an R data frame
- IMPORTDATASETFROMR call
transfers data from a matrix or data frame into a SAS data set
- IMPORTMATRIXFROMR call
transfers data from a matrix or data frame into a SAS/IML matrix
- IMPORTTABLEFROMR call
transfers data from a matrix or data frame into a SAS/IML table
Last updated: July 20, 2026