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;
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.