title: Turn off automatic graph saving in SAS 9.4
body: <p>In SAS 9.3, I could use <code>ODS HTML GPATH</code> to specify the path where I wanted graphs to be saved (if I so desired). In 9.4, by default (i.e. every time I open SAS) whenever I make a graph (with <code>PROC SGPLOT</code>, e.g.), it automatically saves the plot to the location where the SAS program is saved. I've tried going to Tools --> Options --> Preferences --> Results and unchecking every combination of the HTML and ODS options, but no matter what I'm still getting automatically saved graphs. How can I turn this off? Preferably I'd still have ODS output <em>within</em> SAS, but I do not want these PNG (or whatever) images to be saved to my computer outside SAS automatically.</p>
  
  <p><strong>EDIT</strong>: More information because the differences as stated above were not clear.</p>
  
  <p>1) In 9.3 I <em>had</em> to say <code>ODS GRAPHICS ON</code> and specify <code>ODS HTML GPATH</code> in order to have SAS save my plots to my computer outside of SAS (or so I thought). If I wanted ODS graphics inside of SAS, but not save graphs outside of SAS, I could just say <code>ODS GRAPHICS ON</code> and skip the <code>ODS HTML GPATH</code> statement.</p>
  
  <p>2) When I open 9.4 and do not make any statements about <code>ODS</code> (i.e. leave settings at default), but run a procedure such as <code>SGPLOT</code>, I <em>A</em>) get both a html graph (ODS graph that shows up in SAS's 'Results' window) and a graph that I can double-click to open in Windows Photo Viewer, and <em>B</em>) the plot is <em>additionally</em> and <em>automatically</em> saved where my SAS program is located as a PNG.</p>
  
  <p>Trying to stop this automatic graphing saving, I have tried the following in SAS 9.4 before running <code>PROC SGPLOT</code>:</p>
  
  <p>1) <code>ODS GRAPHICS OFF</code>: Nothing changes. I still get everything listed in point (2) above.</p>
  
  <p>2) <code>ODS HTML CLOSE</code> (with <code>ODS GRAPHICS ON</code>): Lose html/ODS version of graph within SAS, but still have graph in SAS I could double-click that opens in Windows Photo Viewer, and still the graph saves automatically to my SAS program's location.</p>
  
  <p>3) <code>ODS GRAPHICS OFF</code> and <code>ODS HTML CLOSE</code>: Same thing as previous case ((2) directly above).</p>
  
  <p>What I want (and I feel like this is how it was in 9.3) is to yes, have ODS graphs come up <em>within</em> SAS (don't really need the version you can double-click to open in Windows Photo Viewer), but no, do not have SAS save a PNG to my computer (specifically, my SAS program's location).</p>