Re: [R] {lattice/grid} "Error using packet 1" and traceback

2008-02-19 Thread Deepayan Sarkar
On 2/14/08, Deepayan Sarkar <[EMAIL PROTECTED]> wrote: > On 2/14/08, Felix Andrews <[EMAIL PROTECTED]> wrote: > > You can tell Lattice to stop when an error occurs, like this: > > > > lattice.options(panel.error="stop") > > xyplot(1:10 ~ 1:10, panel=function(...) stop("foo")) > > # -> Error in p

Re: [R] {lattice/grid} "Error using packet 1" and traceback

2008-02-14 Thread Deepayan Sarkar
On 2/14/08, Felix Andrews <[EMAIL PROTECTED]> wrote: > You can tell Lattice to stop when an error occurs, like this: > > lattice.options(panel.error="stop") > xyplot(1:10 ~ 1:10, panel=function(...) stop("foo")) > # -> Error in panel(x = 1:10, y = 1:10) : foo > > That is a little more informati

Re: [R] {lattice/grid} "Error using packet 1" and traceback

2008-02-14 Thread Felix Andrews
You can tell Lattice to stop when an error occurs, like this: lattice.options(panel.error="stop") xyplot(1:10 ~ 1:10, panel=function(...) stop("foo")) # -> Error in panel(x = 1:10, y = 1:10) : foo That is a little more informative than the default "panel.error", because it tells you the condition

[R] {lattice/grid} "Error using packet 1" and traceback

2008-02-14 Thread Wolfram Fischer
On some errors during the plot of a lattice/grid graphics, there is written a message like "Error using packet 1: missing value where TRUE/FALSE needed" into the concering panel and the next panel is plotted. Which option I could use to stop the execution to have a look at the error by a traceback