I've put a fix for this in place in R-devel now. It required adding
another parameter to browser(), so I'd like to test it out a while
before backporting it to 2.10.0 patched.
Please give it a try, and let me know if you notice anything wrong.
Duncan Murdoch
On 27/10/2009 12:51 PM, Romain
Hello,
When using recover, the called from information is always eval(expr,
envir, enclos), which is not particularly useful.
f - function( ){ g - function(){ stop( ouch) }; g() }
options( error = recover )
f()
Error in g() : ouch
Enter a frame number, or 0 to exit
1: f()
2: g()