Skip to content
Prev 279473 / 398506 Next

help! what's wrong with setBreakpoint

On 11-12-05 10:32 PM, Michael wrote:
What did it print?
One of the complications in R is that you can have multiple copies of a 
function in memory.  You may (or may not, what did it print??) have set 
a breakpoint in one copy, then run another.  Or you may have edited that 
function after originally sourcing it, and lost the source reference.

An alternative to using setBreakpoint is just to edit a call to 
browser() into the function.  It's less convenient, but more robust.

Duncan Murdoch