Hi Cynthia,
This was so helpful. Thank you so much.
I have a question-
My proc corr- var statement has lot of variables. This creates indvidual plots on the result. When I use the code-
options orientation=landscape;
ods rtf file='koala.rtf' style= journal;
PROC FREQ, PROC CORR, etc
ods rtf close;
It prints only tables in the output and no graphs. Could you help me with this?
Hi: It is probably not a good idea to piggyback a new question onto an older track.
Do you have ODS GRAPHICS turned on? Are you at least running SAS 9.2? Have you put the appropriate PLOTS= options in the PROC FREQ and PROC CORR steps? When I run the code below, I do see graphics in the output RTF file.
cynthia
ods graphics on;
options orientation=landscape;
ods rtf file='c:\temp\koala.rtf' style= journal;
proc freq data=sashelp.class;
title '1) FREQ';
tables age / nocum nopercent plots=(all);
run;
proc corr data=sashelp.fish plots=matrix(histogram);
title '2) CORR';
run;
ods rtf close;
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.