I need to submit R statements in SAS. To do that, the SAS documentation recommand to enable the RLANG option (which I did) and then use the submit statement as follows :
submit / R;
(more details are available here, I use the exact example code.)
My issue is that the submit statement is not recognized : it appears in red in the editor and if I try to run the code anyway, I get the following error :
ERROR 180-322: Statement is not valid or it is used out of proper order.
I have the same issue if I try to use submit in another context. Any ideas how to fix this ?