Altair slc does not support 'proc iml' ImportDataFromR function
18 call ImportDataFromR("workx.testout", "testout");
^
ERROR: The CALL routine "IMPORTDATAFROMR" is not known
/--- USE CASE ---/
proc datasets lib=workx kill;
run;quit;
libname workx "d:/wpswrkx";
data workx.test;
test=constant('pi');
run;
options set=RHOME "C:\Progra~1\R\R-4.5.2\bin\r";
proc iml;
call ExportDataSetToR("workx.test", "test");
submit / R;
testout<-test
print(testout)
endsubmit;
call ImportDataFromR("workx.testout", "testout");
quit;
18 call ImportDataFromR("workx.testout", "testout");
^
ERROR: The CALL routine "IMPORTDATAFROMR" is not known
The reason I need this is the ability to wrap a macro around
'proc iml' calling R. The slc does not allow wrapping 'proc r' in a macro?
This is the key code to wrap 'iml calling r' in a macro. Thisstructure does not work in the slc 'proc r'.
submit / R;
source('c:/temp/r_pgm.txt',echo=TRUE)";
endsubmit;"
Would greatly appreciate support for creating sas datasets from proc iml
and in post python 310.
A temporary workaround might be to create wpd datasets from R and recent Python versions?
Thanks
Roger