BookmarkSubscribeRSS Feed
AnnaHawgood
Fluorite | Level 6

Hi

Is there a way of outputting Proc report results to R?

I am creating a report, where I want to combine tables created in SAS (Proc report) with graphs created in R.

 

So far I have tried outputting my tables to png-files and importing them in R, but I'm having problems with the size and resolution. I know that there must be a way of improving the size and resolution, but if there is a way of creating a R source file (equivalent to the Latex-example here: https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-print-a-SAS-table-as-an-image-gif-jpeg-...) I think it would work better for me.

 

Thanks!

Anna

2 REPLIES 2
JosvanderVelden
SAS Super FREQ
Have you seen this document "Streamline Your Workflow: Integrating SAS, LATEX, and R into a Single Reproducible Document by Lucy D’Agostino McGowan, Vanderbilt University"?
https://support.sas.com/resources/papers/proceedings17/0876-2017.pdf
AnnaHawgood
Fluorite | Level 6

I hadn't seen it - thanks!

I'll give it a read-through and see if I can make it work for me.

 

- Anna

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
  • 660 views
  • 0 likes
  • 2 in conversation