<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Graph Not Exporting to RTF in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913225#M40889</link>
    <description>&lt;P&gt;You are right; the culprit is the application I use to read the RTF file. I simply tried opening the file in Microsoft Word for mac, and the graph was there. Good to know since it can be easily solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the record, the version of Pages on my mac is 13.1, which is the latest version that can be installed under OS 12.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helping me solve this problem!&lt;/P&gt;</description>
    <pubDate>Sun, 28 Jan 2024 02:51:03 GMT</pubDate>
    <dc:creator>meganw7</dc:creator>
    <dc:date>2024-01-28T02:51:03Z</dc:date>
    <item>
      <title>Graph Not Exporting to RTF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913194#M40883</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I encountered a problem when trying to export some tables and graphs using ODS RTF. When I opened the RTF file in Pages, the table was there, but the graph was not. I ran two sas programs containing codes for tables and graphs just to see if the problem was restricted to the codes in one program. In both runs I didn't get the graph in the RTF file. There were no errors or warnings in the log. I was able to export graphs to pdf, excel, and powerpoint, though. Done some googling but didn't find a post that would fit my situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS OnDemand in the latest Google Chrome on a macbook pro (OS 12.7.3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Program 1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;ods rtf file="/home/u6373xxxx/EPG1V2/output/pressure.rtf" style=sapphire startpage=no;&lt;/DIV&gt;&lt;DIV&gt;ods noproctitle;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;title "Minimum Pressure Statistics by Basin";&lt;/DIV&gt;&lt;DIV&gt;proc means data=pg1.storm_final mean median min maxdec=0;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; class BasinName;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; var MinPressure;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;title "Correlation of Minimum Pressure and Maximum Wind";&lt;/DIV&gt;&lt;DIV&gt;proc sgscatter data=pg1.storm_final;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;plot minpressure*maxwindmph;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;title;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ods rtf close;&lt;/DIV&gt;&lt;DIV&gt;ods proctitle;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Program 2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf file="&amp;amp;outpath/ParkReport.rtf" style=Journal startpage=no;&lt;BR /&gt;ods noproctitle;&lt;BR /&gt;options nodate;&lt;/P&gt;&lt;P&gt;title "US National Park Regional Usage Summary";&lt;BR /&gt;proc freq data=pg1.np_final;&lt;BR /&gt;tables Region /nocum;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means data=pg1.np_final mean median max nonobs maxdec=0;&lt;BR /&gt;class Region;&lt;BR /&gt;var DayVisits Campers;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods rtf style=sasdocprinter;&lt;/P&gt;&lt;P&gt;title2 'Day Visits vs. Camping';&lt;BR /&gt;proc sgplot data=pg1.np_final;&lt;BR /&gt;vbar Region / response=DayVisits;&lt;BR /&gt;vline Region / response=Campers;&lt;BR /&gt;run;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;BR /&gt;ods proctitle;&lt;BR /&gt;options date;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insight on this issue would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 09:26:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913194#M40883</guid>
      <dc:creator>meganw7</dc:creator>
      <dc:date>2024-01-27T09:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Not Exporting to RTF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913195#M40884</link>
      <description>&lt;P&gt;Try DEVICE=SVG in your ODS RTF statement. It might be that the default EMF graphics format can't be handled by your software/operating system.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 09:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913195#M40884</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-01-27T09:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Not Exporting to RTF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913196#M40885</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It gave a warning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Unsupported device 'SVG' for RTF destination. Using default device 'EMF'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently it is using EMF. Any idea what else it might be?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 11:34:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913196#M40885</guid>
      <dc:creator>meganw7</dc:creator>
      <dc:date>2024-01-27T11:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Not Exporting to RTF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913198#M40886</link>
      <description>&lt;P&gt;Then try DEVICE=PNG.&lt;/P&gt;
&lt;P&gt;But the culprit may be the program you use to view the file. I ran this code on ODA:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file="~/class_emf.rtf";

proc sgplot data=sashelp.class;
vbar sex / response=weight;
run;

ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;, downloaded the file to my MacBook, and opened it with LibreOffice, and the graphic was there.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 14:51:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913198#M40886</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-01-27T14:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Not Exporting to RTF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913204#M40887</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;But the culprit may be the program you use to view the file.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Same here under Windows: WordPad does not show the graphs (and also suppresses the titles), whereas MS Word shows graphs and displays titles. Opening the RTF files with a text editor such as Notepad confirms that the images are embedded in the files: a line containing "&lt;FONT face="courier new,courier"&gt;\pict\emfblip&lt;/FONT&gt;" (or&amp;nbsp;"&lt;FONT face="courier new,courier"&gt;\pict\jpegblip&lt;/FONT&gt;", depending on the selected device) is followed by a large block of hexadecimal data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the listing destination is open, the graphs are also written to separate PNG files (by default). Specifying the same ODS style as in the corresponding ODS RTF statement, e.g.&lt;/P&gt;
&lt;PRE&gt;ods listing &lt;STRONG&gt;style=sapphire&lt;/STRONG&gt;;&lt;/PRE&gt;
&lt;P&gt;ensures that colors, fonts etc. match those shown in Word.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 16:17:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913204#M40887</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-01-27T16:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Not Exporting to RTF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913225#M40889</link>
      <description>&lt;P&gt;You are right; the culprit is the application I use to read the RTF file. I simply tried opening the file in Microsoft Word for mac, and the graph was there. Good to know since it can be easily solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the record, the version of Pages on my mac is 13.1, which is the latest version that can be installed under OS 12.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helping me solve this problem!&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 02:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Graph-Not-Exporting-to-RTF/m-p/913225#M40889</guid>
      <dc:creator>meganw7</dc:creator>
      <dc:date>2024-01-28T02:51:03Z</dc:date>
    </item>
  </channel>
</rss>

