IMLPlus provides the following mechanisms for exchanging data between IMLPlus and R:
Method | Data Source | Data Destination |
---|---|---|
DataObject.AddAnalysisVarFromR | R expression | DataObject variable |
DataObject.AddAnalysisVarsFromR | R expression | DataObject variable(s) |
DataObject.AddVarFromR | R expression | DataObject variable |
DataObject.AddVarsFromR | R expression | DataObject variable(s) |
DataObject.CreateFromR | R expression | DataObject |
DataObject.ExportToR | DataObject | R variable (data frame) |
R.GetCharacterMatrix | R expression | IML matrix |
R.GetMatrix | R expression | IML matrix |
R.GetNumericMatrix | R expression | IML matrix |
R.SetMatrix | IML matrix | R variable (matrix) |
Module | Data Source | Data Destination |
ExportDataSetToR | SAS data set | R variable (data frame) |
ExportMatrixToR | IML matrix | R variable (matrix) |
ImportDataSetFromR | R expression | SAS data set |
ImportMatrixFromR | R expression | IML matrix |
For further information about how IML Studio exchanges data between IMLPlus and R, please refer to the topic Data Exchange Details.