BookmarkSubscribeRSS Feed
Doug____
Pyrite | Level 9

Can this be done? I see posts related to IML but I do not have access to IML. Can this be done directly or does it have to be exported to some other format then imported to SAS? 

2 REPLIES 2
ChrisHemedinger
Community Manager

Aside from the SAS/IML integration, SAS doesn't have an engine to read RDS files directly. You could use R to export them (CSV or JSON) and then read that into SAS. If you have SAS Viya, you can use R-swat to connect to SAS Viya from R and send the R data to your SAS session.

SAS Innovate 2026: Register now! April 27-30 in Grapevine TX -- it's the premier conference for SAS users!
yabwon
Amethyst | Level 16

You could try the macro form this article: https://www.jstatsoft.org/article/view/v046c02

It assumes (similar to IML) you have R installed on your machine.

 

Bart

_______________
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



Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 7727 views
  • 0 likes
  • 3 in conversation