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;
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.