BookmarkSubscribeRSS Feed
ArthurBaines
Calcite | Level 5

Hi all,

 

I had an issue running R code through PROC IML that you all previously helped solve (see here), however the fix that worked for me is not working for some of my co-workers who are also needing to run R code through PROC IML. They are also trying to run R 4.4.0 through PC SAS 9.4 (TS1M7) via the PROC IML functionality and they are getting different error messages:

ArthurBaines_1-1724190831674.png

Their errors above are from running the example R/IML code provided by SAS here, namely:

proc iml;
call ExportDataSetToR("Sashelp.Class", "df" );
submit / R;
   names(df)
endsubmit;

 

Anyone have ideas about this issue?

4 REPLIES 4
yabwon
Onyx | Level 15

Maybe this hot-fix: https://support.sas.com/kb/70/253.html ?

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



ArthurBaines
Calcite | Level 5

I also thought it might be that, even though the error messages don't quite match (e.g. my coworkers aren't getting the final ERROR: The final R statement is incomplete. piece)

 

Anyway, we tried it but Deployment Manager said that hot fix was not applicable to their installations. Thanks for the suggestion!

SAS_Rob
SAS Employee

This is most likely an installation issue with R and/or SAS.  To confirm that is what is going on in your case, you could contact Technical Support and have them verify that it is not something else.

ArthurBaines
Calcite | Level 5

Thanks, Rob. I'll talk with my coworkers and get one of them to contact Technical Support.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 4 replies
  • 708 views
  • 0 likes
  • 3 in conversation