| methodUtilities {methods} | R Documentation |
These are utilities, currently in the methods package, that either provide some functionality needed by the package (e.g., element matching by name), or add compatibility with S-Plus, or both.
functionBody(fun=sys.function(sys.parent())) allNames(x) getFunction(name, generic=TRUE, mustFind=TRUE, where) el(object, where) elNamed(x, name, mustFind=FALSE) formalArgs(def) Quote() message(...) showDefault(object, oldMethods = TRUE) initMethodDispatch()
allNames:names(), never
returns NULL).
getFunction:elNamed:[, [[, and $ operators, this function
requires name to match the element name exactly (no partial
matching).
formalArgs:existsFunction:generic is
FALSE, generic functions are not counted.
findFunction:name exists.
If generic is FALSE, ignore generic functions.
message:showDefault:show methods to be called by the
automatic printing (via print.default).
{ Argument oldMethods controls whether old-style print
methods are used for this
object. It is TRUE by default if called directly, but FALSE
when called from the methods package for automatic printing (to
avoid potential recursion).
}
initMethodDispatch:.isMethodsDispatchOn(FALSE)—a very gutsy
thing to do), calling this function should turn dispatch back
on again.