BookmarkSubscribeRSS Feed
gs389
Calcite | Level 5

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!

3 REPLIES 3
ChrisNZ
Tourmaline | Level 20

You might have the ODS destination PDF open?

gs389
Calcite | Level 5

No There is no ods pdf call in the code

ChrisNZ
Tourmaline | Level 20

Check your EG options. EG opens destinations for you,

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
  • 3 replies
  • 951 views
  • 0 likes
  • 2 in conversation