title: Export both Image and Data from R to an Excel spreadsheet
body: <p>It is simple to print an image and save it on disk just:</p>
  
  <pre><code>fit &lt;- lm(some ~ model)
  
  png(filename="your/file/location/name.png")
  plot(fit)
  dev.off()
  </code></pre>
  
  <p>Write some data to a excel spreadsheet just</p>
  
  <pre><code>write.csv(rnorm(10),"some file",sep=",")
  </code></pre>
  
  <p>My question is how would one redirect both the above in to a spreadsheet. Another word, output a graph paired withs some image/plot on to a excel workbook?</p>
  
  <p>Thanks,</p>