I've completed the steps outlined in the following post https://communities.sas.com/t5/General-SAS-Programming/Run-R-code-inside-SAS-easily/td-p/210116 and used the example code to test and see if I can run R in base SAS 9.4 and SAS EG 7.1. In SAS 9.4 the code run exactly as expected, but in SAS EG 7.1 the code creates a pdf file to display the histogram output instead of a png image file. I'm wondering if this is a system issue or a coding issue?
Thanks!
You might have the ODS destination PDF open?
No There is no ods pdf call in the code
Check your EG options. EG opens destinations for you,
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.