title: ggheatmap R script error
body: <p>I'm using this r script (<a href="https://cwcode.wordpress.com/2013/01/30/ggheatmap-version-2/" rel="nofollow">https://cwcode.wordpress.com/2013/01/30/ggheatmap-version-2/</a> ) in order to perform a nice heatmap automatically. At the beginning, it works as expected, but if I increase the size of the dataset, it crashes. I'm not very good at R, I'm starting, so I don't know exactly what it is going on. I guess that maybe memory problems. This is the error message:</p>
  
  <pre><code>Error in grid.Call.graphics(L_upviewport, as.integer(n)) :   cannot
  pop the top-level viewport ('grid' and 'graphics' output mixed?) Error
  in grid.Call.graphics(L_upviewport, as.integer(n)) :   cannot pop the
  top-level viewport ('grid' and 'graphics' output mixed?) Error:
  evaluation nested too deeply: infinite recursion /
  options(expressions=)? Error during wrapup: evaluation nested too
  deeply: infinite recursion / options(expressions=)?
  </code></pre>
  
  <p>Anyone can suggest me how to solve this issue? My input dataset has 62 columns and 16956 number of rows. If I extract the first 10000 rows, the script works fine.</p>