Re: [R] how to debug (mtrace) a function defined inside a function?

2010-12-04 Thread MarkBravington
Hi Andre Just saw your email; I'm the author of the 'debug' package but I don't subscribe to R-help, so it's best to email me directly with questions about 'debug' or 'mvbutils'. The quick answer is that you can either: - mtrace( mymodel), then after it has executed the 'build -

[R] how to debug (mtrace) a function defined inside a function?

2010-10-29 Thread Andre Zege
Hi, everyone. I am using a fair amount of closures in my code. Problem i am experiencing is i cannot figure out how to mtrace functions defined within a function. There must be some way to name such function for mtrace to see it and let me step into it. For example, say i have code

Re: [R] how to debug (mtrace) a function defined inside a function?

2010-10-29 Thread Duncan Murdoch
On 29/10/2010 5:19 PM, Andre Zege wrote: Hi, everyone. I am using a fair amount of closures in my code. Problem i am experiencing is i cannot figure out how to mtrace functions defined within a function. There must be some way to name such function for mtrace to see it and let me step into it.