Figure margins too large when trying to use layout()
<p>I have this data set</p>

<pre><code>wine &lt;-read.table("http://archive.ics.uci.edu/ml/machine-learning-databases/wine/wine.data",sep=",")
attach(wine)
</code></pre>

<p>And I want to use the layout function for prompting six scatterplots each one of them with its histogram above, but when trying to put the first scatterplot with its own histogram above this error occurs:</p>

<pre><code>&gt; m&lt;-rbind(c(2,4,6),c(1,3,5),c(8,10,12),c(7,9,11))
&gt; layout.show(layout(m))
&gt; layout(m)
&gt; plot(V2[1:25]~V5[1:25]);with(wine, hist(V5))
Error in plot.new() : figure margins too large
</code></pre>

<p>I tried using <code>png("1.png",800,600)</code>, the  file gets created but it tells me that I do not have permissions to see the content of the file.</p>