search for: ctxt_generic

Displaying 1 result from an estimated 1 matches for "ctxt_generic".

Did you mean: clnt_generic
2000 Nov 07
0
error handling
...know the POTENTIAL PROBLEMS that might be introduced. It involves setting up a context and forcing R_GlobalContext's nextcontext to 0, as in the following (by the way, this same approach doesn't work in the example above, which is why I set up a context): begincontext(&thiscontext, 0, CTXT_GENERIC, R_NilValue, R_NilValue, R_NilValue); R_GlobalContext->nextcontext = 0; if (!SETJMP(thiscontext.cjmpbuf)) R_CurrentExpr = eval(R_CurrentExpr , rho); endcontext(&thiscontext); This code solves my problem, however, in certain cases my calling C++ client application cannot catch the error (ex...