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