BookmarkSubscribeRSS Feed
USP2405
Obsidian | Level 7

I have executed below code in SAS Studio using SAS Viya but getting error . Please help me to resolve this issue.


proc iml;
submit / R;
library(ggplot2)
library(rtf)
library(stringr)
endsubmit ;

ERROR: R:  unexpected '/' in "/"

statement : SUBMIT at line...

1 REPLY 1
Rick_SAS
SAS Super FREQ

Please submit the following statements and post the log:

%put &SYSVLONG4;
proc options option=RLANG value;
run;

proc iml;
submit / R;
x <- 1
print(x)
endsubmit ;
quit;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 1 reply
  • 1261 views
  • 0 likes
  • 2 in conversation