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 For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
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



hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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