[R] How to step in a function?

Peng Yu pengyu.ut at gmail.com
Thu Dec 3 04:54:35 CET 2009


On Wed, Dec 2, 2009 at 8:08 PM, David Winsemius <dwinsemius at comcast.net> wrote:
>
> On Dec 2, 2009, at 8:58 PM, Peng Yu wrote:
>
>> To debug a function, what I currently know is to put 'browser()' in
>> it. But I'm wondering if there is a way like 'step in' that is
>> available in debuggers of other languages (e.g. gdb).
>
> Learn to search:
>
>> library(sos)
>> ???"debug step"

I download the document from cran. But I prefer to consult the
document from R session. What command should I use to get the document
for the package of sos? What command should I use to get the list of
functions that are in sos?




More information about the R-help mailing list