title: How to remove the device margins of an EPS file
body: <p>I am exporting some plots to EPS files. My code is</p>
  
  <pre><code>setEPS()
  postscript("test.eps")
  par(mar=c(0,0,0,0))
  plot(1:10)
  dev.off()
  </code></pre>
  
  <p>But I find that there are (device) margins around the plotting area. How to remove them? Thank you.</p>