Skip to content
Prev 32741 / 63424 Next

step by step debugger in R?

Robert Gentleman wrote:
yes. there are now several ui toolkits that could be use to give some 
sort of graphical representation of what is being debugged.

I agree with you that and IDE should command R and not the other way 
around, but I am not (yet) here talking about a fully featured IDE, but 
simply a debugger.

I need to read more about embedding R (as in section 8 of WRE). I know 
you can supply your own implementation of the REPL, but I am not sure 
this includes the one that goes on once trapped into the browser. For 
example littler ships its own REPL, but this does not seem to fool/deal 
with browser:

$ r -e "print(1:10); browser(); print(1:5) "
 [1]  1  2  3  4  5  6  7  8  9 10
Called from: NULL
c
 [1]  1  2  3  4  5

Not sure this is an omission of Jeffrey and Dirk or something else.
In the long run, I do agree. In the short run, I'd prefer taking the bus 
to the airport rather than walk.