Re: [Rd] grid error: protection stack overflow

2008-11-19 Thread Paul Murrell
Hi Felix Andrews wrote: > I have isolated an error that can be reproduced by the following code. > The same thing happens in 2.8.0pat and 2.9.0dev. It looks like the > try() code is ending up in the display list, or something? The problem was that the *unsuccessful* downViewport() was ending up

Re: [Rd] grid error: protection stack overflow

2008-11-14 Thread Felix Andrews
For the record, a much better alternative to try(downViewport()) is curVps <- grid.ls(grobs = FALSE, viewports = TRUE, print = FALSE)$name if ("fooVp" %in% curVps) ... 2008/11/14 Felix Andrews <[EMAIL PROTECTED]>: > I have isolated an error that can be reproduced by the following code. > The sam

[Rd] grid error: protection stack overflow

2008-11-13 Thread Felix Andrews
I have isolated an error that can be reproduced by the following code. The same thing happens in 2.8.0pat and 2.9.0dev. It looks like the try() code is ending up in the display list, or something? library(grid) library(lattice) xyplot(1:100 ~ 1:100) test <- try(downViewport("pageAnnotationVp"), s