Re: [R] grid: Grid graphics flickering

2013-08-18 Thread Paul Murrell
Hi Two points: 1. grid.remove() redraws the entire scene (and because the drawing is slow you see a flicker) 2. Doing this ... dev.hold() grid.gremove("lastShape") dev.flush() ... may reduce flicker for you. Paul On 07/25/13 06:10, Daniel Guetta wrote: I'm designing an interactive plot

[R] grid: Grid graphics flickering

2013-07-24 Thread Daniel Guetta
I'm designing an interactive plot using the `grid` package in R. As part of the interactivity, I repeatedly delete and re-create various parts of the plot. However, the total number of grid elements (as obtained using the `grid.ls()` command) stays constant; everything I create was previously remov