Entering edit mode
zhang.jianhai
▴
10
@zhangjianhai-12955
Last seen 5.0 years ago
Hello,
How can I retrieve the source code of "isa.iterate()" function in package "isa2"?
I tried by typing isa.iterate, or getAnywhere(isa.iterate), or getMethods("isa.iterate", "list"). All failed.
Thanks.
Regards,
Jianhai
Hello,
Thanks for your reply. It is like the following, still no source code.
> isa2:::isa.iterate
standardGeneric for "isa.iterate" defined from package "isa2"
function (normed.data, ...)
standardGeneric("isa.iterate")
<environment: 0x1ffeb88>
Methods may be defined for arguments: normed.data
Use showMethods("isa.iterate") for currently available ones.
Since the generic is not exported, showMethods() needs to be told where to look
A convenient way to get source code for methods when there are only one or two is to use the argument includeDefs=
leading finally to
isa2:::isa.iterate.default
.Martin,
Got it. Thanks a lot.
Regards,
Jianhai