Here are two minimal examples, the first one works and the second one does not: *** WORKS;
data tab1;
input symbol $;
datalines;
+
;
run;
proc iml;
run ExportDataSetToR("tab1", "tab1");
submit / R;
print(tab1)
endsubmit;
quit;
*** DOES NOT WORK;
data tab2;
input symbol $;
datalines;
≤
;
run;
proc iml;
run ExportDataSetToR("tab2", "tab2");
submit / R;
print(tab2)
endsubmit;
quit; I get the following error on running the second piece of code: NOTE: IML Ready
126 run ExportDataSetToR("tab2", "tab2");
ERROR: SAS is unable to transcode character data to the R encoding.
ERROR: Unable to export data.
ERROR: Execution error as noted previously. (rc=1000)
... View more