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;

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

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