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
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
2 matches
Mail list logo