[Bioc-devel] [FORGED] ggplot error Error in grid.Call.graphics

Paul Murrell paul at stat.auckland.ac.nz
Sun Sep 17 23:20:45 CEST 2017


Hi

That error means that more 'grid' viewports have been popped than 
pushed.  Do you have a simple code sample that (sometimes) produces the 
error for me to try myself ?

Paul

On 16/09/17 05:04, Samuel E Zimmerman wrote:
> Hi Everyone,
> 
> One of my colleagues is creating an R package to submit to bioconductor. In one of his functions he is creating a plot with ggplot2. I tested out the function for him and occasionally I get the error below. It happens sporadically using the exact same input as when it works normally. I have also encountered random errors like this in packages such as monocle and clusterProfiler. Does anyone know what may be the cause of this sporadic error? The version of ggplot2 I am running is "ggplot2_2.2.1".
> 
> Thank you very much.
> 
> Best,
> Sam
> 
> Error in grid.Call.graphics(C_upviewport, as.integer(n)) :
> cannot pop the top-level viewport ('grid' and 'graphics' output mixed?)
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
> 

-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/



More information about the Bioc-devel mailing list