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;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: