Displaying 1 result from an estimated 1 matches for "errorfn".
Did you mean:
errorfd
2011 Nov 25
2
options(errorfn=traceback)
Dear R experts---I may have asked this in the past, but I don't think
I figured out how to do this. I would like to execute traceback()
automatically if my R program dies---every R programI ever invoke. I
guessed that I could have wrapped my entire R code into
tryCatch(
... oodles of R code
,
error = function(e) traceback(),
finally = cat("done")
}
but the traceback docs tell