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

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