removeMethod

Remove a Method

Remove the method for a given function and signature. Obsolete for ordinary applications: Method definitions in a package should never need to remove methods and it's very bad practice to remove methods that were defined in other packages.

Keywords
classes, methods, programming
Usage
removeMethod(f, signature, where)
Arguments
f, signature, where

As for setMethod().

Value

TRUE if a method was found to be removed.

References

Chambers, John M. (2016) Extending R, Chapman & Hall. (Chapters 9 and 10.)

Aliases
  • removeMethod
Documentation reproduced from package methods, version 3.5.2, License: Part of R 3.5.2

Community examples

Looks like there are no examples yet.