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;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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