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.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
yabwon
Onyx | Level 15

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



sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register 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
  • 5351 views
  • 0 likes
  • 3 in conversation