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 2025: Call for Content! Submit your proposals before Sept 16. Accepted presenters get amazing perks to attend the conference!
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



Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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