[Rd] seekViewport error

Paul Murrell p.murrell at auckland.ac.nz
Thu Jan 24 22:51:06 CET 2008


Hi


hadley wickham wrote:
>> The problem (see also
>> https://stat.ethz.ch/pipermail/r-help/2008-January/151655.html) is that
>> cellGrobs (children of frame grobs) use their 'vp' component to store
>> the viewport that positions them within the parent frame.  This means
>> that the viewport is pushed and then popped (as per normal behaviour for
>> 'vp' components).
> 
> Why ever 'pop' and not 'up'?  It seems like you would (almost) always
> want to leave the viewport around so that others can modify more
> easily.  Is it a performance consideration?


Because 'up' did not exist when the code was first written (and now it's
probably too late ...)

Paul
-- 
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 R-devel mailing list