[R] ow to have R automatically print traceback upon errors

Hao Cen hcen at andrew.cmu.edu
Tue Nov 24 01:52:44 CET 2009


Hi,

I wonder how to have R automatically print stack trace produced by
traceback upon errors during interactive uses. I tried the suggestions on
http://old.nabble.com/Automatically-execute-traceback-when-execution-of-script-causes-error--td22368483.html#a22368775

and used options(error = recover)
options(showErrorCalls = T)

It just produces an extra message like "recover called non-interactively;
frames dumped, use debugger() to view"

Thanks

Jeff




More information about the R-help mailing list