Skip to content
Prev 2806 / 15274 Next

How to use the debugger/broser in a R package function

This is probably (certainly) a question for R-help, but since
cross-posting isn't too nice, I'll answer.

You need to find the method that is being dispatched on.

methods(kfilter)
[1] kfilter.SS  kfilter.ssm

These can then be viewed or used in the debug() call:

debug(kfilter.SS)  or debug(kfilter.ssm)

undebug will stop the debugging.

see ?debug

HTH
Jeff

Those with an asterisk will be unexported, so you'll need to prefix with

On Wed, Aug 20, 2008 at 2:33 PM, Verschuere Benjamin
<benverschuere at hotmail.com> wrote: