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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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