[R] How to see how a function is written
sergeyg at gmail.com
Tue Jun 15 14:38:08 CEST 2010
Erik, I see the following when I type "apply" at the prompt:
standardGeneric for "apply" defined from package "base"
function (X, MARGIN, FUN, ...)
Methods may be defined for arguments: X, MARGIN, FUN
Use showMethods("apply") for currently available ones.
Also, whether I type "mean" at the prompt, or I type "edit(mean)", I
do not see the underlying code for function "mean". How would I be
able to see it?
system i386, mingw32
svn rev 50720
version.string R version 2.10.1 (2009-12-14)
On Tue, Jun 15, 2010 at 14:26, Erik Iverson <eriki at ccbr.umn.edu> wrote:
> Sergey Goriatchev wrote:
>> If I want to see how, say, apply function is written, how would I be
>> able to do that?
>> Just typing "apply" at the prompt does not work.
> Well, it is supposed to work, and it works for me. So you need to tell us
> what "does not work" means, and all the info the posting guide requests, OS,
> versions, etc.
Hope and Change
Change you can believe in
More information about the R-help