BookmarkSubscribeRSS Feed
deleted_user
Not applicable
hi,

i use the code -
ods rtf;
proc plot data = review1 vpercent=50 hpercent=50;
plot Z*(X Y T Y U);
title;
run;
ods rtf close;

when i open the word then a navigation webpage gets opened as well in SAS 9.2 which i dont want. any change in coe that u could suggets?

kindest regards,
MarkC
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
I don't know what you mean by "navigation web page". Are you using SAS Enterprise Guide? Are you using SAS Display Manager? In a previous posting, it was recommended that you use the FILE= option to explicitly provide a name for your RTF file.

It is possible that you are referring to a popup window that sometimes occurs with ODS RTF, when the Windows system prompts you about whether you want to open or save the RTF (and/or PDF) file, as described in this Tech Support note:
http://support.sas.com/kb/9/627.html

If you do NOT mean that popup window as described above, and if you are possibly using SAS Enterprise Guide, which will create an HTML output file for you automatically, one possible thing to try would be to do this:
[pre]
** close all destinations, including the one opened by EG;
ods _all_ close;

** open the RTF destination using an explicit file name;
ods rtf file='c:\temp\myplot.rtf';
...your code...
ods rtf close;

[/pre]

In addition, I would suggest that, if you have SAS/GRAPH available to you, that you use the high-resolution PROC GPLOT, instead of PROC PLOT for the creation of your graphic output.

cynthia

sas-innovate-2024.png

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.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 615 views
  • 0 likes
  • 2 in conversation