Skip to content
Prev 172801 / 398506 Next

Automatically execute traceback when execution of script causes error?

On Fri, 6 Mar 2009, Rainer M Krug wrote:

            
See options 'error' and 'showErrorCalls'.  The latter is the default 
in batch use of R, and its compact traceback is found to be sufficient 
by many of us.  If 'remotely' means interactively, consider 
options(error=recover).

It might help to review section 4.2 of 'Writing R Extensions'.