[R] how to set debug breaks

Duncan Murdoch murdoch at stats.uwo.ca
Mon Oct 30 22:40:01 CET 2006


On 10/30/2006 1:37 PM, waverley palo wrote:
> Hi,
> 
> I am new in R and have some frustrations as how to set debug breaks during
> emacs R debug.  I use debug () as where or which function to debug.  But
> during the debug, e.g., I have a for loop at the beginning of the function
> code and want the code execution to jump through that for loop and set a
> break after that.  How to do that?  Is there a web site detailing the syntax
> of the debugging of R?  Hopefully it would be similar to java or C syntax.

The debug() function doesn't support setting breakpoints except at 
function entry, but I believe the debug package does.

Duncan Murdoch



More information about the R-help mailing list