Statistical programming, matrix languages, and more

Using R to generate a Graph

Reply
Super User
Super User
Posts: 6,843

Using R to generate a Graph

Does any know how to easily integrate graphs generated by R code called from PROC IML's interface to R into the SAS ODS output?

And if so are there any changes that need to made for it to work with the SAS/Studio 3.5 user interface?

 

SAS Super FREQ
Posts: 3,624

Re: Using R to generate a Graph

R sends its graphics output to a device that it manages. The graphics do not go through ODS. The only trick I can think of is to write the R graph to a PNG file and then use PROC REPORT to import it into SAS, as shown in this KnowledgeBase article.

Ask a Question
Discussion stats
  • 1 reply
  • 191 views
  • 0 likes
  • 2 in conversation