Skip to content
Prev 109590 / 398500 Next

help with tryCatch

Note that the error catch is calling your locally defined function.
Like anywhere in R, if you assign something to a variable inside a
function, it only applies there and not "outside".  The quick a dirty
fix is to do:

 err <<- c(err, er)

/H
On 2/15/07, Stephen Bond <sje at mast.queensu.ca> wrote: