search for: havehandler

Displaying 2 results from an estimated 2 matches for "havehandler".

Did you mean: savehandler
2002 Aug 22
0
R_Interactive decision to halt execution during errors
Hi, I'm currently trying to use R as a back-end from an interface (you may have seen me on the help list), and I'm running into something that is rather confusing. The following lines in main/errors.c of R 1.5.1: 439: if ( !R_Interactive && !haveHandler && inError ) { 440: REprintf("Execution halted\n"); 441: R_CleanUp(SA_NOSAVE, 1, 0); /* quit, no save, no .Last, status=1 */ 442: } Which seems to not make any sense at all. I've scoured the code and can't figure out what the rationale is for halting ex...
2012 Nov 22
0
why does do_stop call R_GetTraceback ?
...ecover(), and when stop() finally finishes NOTHING else has been printed out - no additional traceback, nothing. So why are we calling jump_to_top_ex() with traceback=TRUE, what good does the call to R_GetTraceback() do? That jump_to_top_ex() code only calls R_GetTraceback() when R_Interactive or haveHandler are true. I am certainly running interactively here, and I did define a handler with options("error"=). But AFAICT, my handler makes no use whatsoever of any of the work done by R_GetTraceback(). In fact, I don't see any way it could even if I wanted it to. And if I remove my handl...