[R] grid - deleting and erasing grobs?

Paul Murrell p.murrell at auckland.ac.nz
Tue May 13 23:31:12 CEST 2003


M.Kondrin wrote:
> Hello!
> Don't quite understand how can I delete grobs and simultaneously erase 
> graphic output they produce. I first change grob's "vp" field to null 
> (grid.edit(gr,vp=NULL)) to erase it and then call rm(gr) (as grobs are 
> external pointers I'm not shure what this method actually frees 
> allocated memory).
> May be there is simpler method?
> Does garbage collector have any effect on grobs?
> Thank you in advance

You can't delete grobs interactively.
It is theoretically possible, but it has not been implemented (yet).
[more detail on a reply shifted to R-devel]

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

More information about the R-help mailing list