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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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