title: How to solve 'Error in plot.new() : figure margins too large' in rstudio?
body: <p>I've read all posts relevant to this problem.But the truth is: if you have lots of variables to plot,this problem still occur.<br>
  My laptop resolution is 1080p, I open rstudio and run below script:</p>
  
  <pre><code>a&lt;-iris[,1:4]
  &gt; a&lt;-t(a)
  &gt; a&lt;-as.data.frame(a)
  &gt; pairs(a)
  Error in plot.new() : figure margins too large
  </code></pre>
  
  <p>I  have tried all the solution in this site from similar questions, none is workable.<br>
  I really need this plot but cannot get it.How to solve this problem?</p>