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

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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