If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: rdrr.io/r/methods/getMethod.html - getMethod: Get or Test for the.

site address: rdrr.io/r/methods/getMethod.html redirected to: rdrr.io/r/methods/getMethod.html

site title: getMethod: Get or Test for the Definition of a Method

Our opinion (on Thursday 27 August 2026 23:51:35 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:

Headings (most frequently used words):

for, get, or, test, the, definition, of, method, methods, getmethod, description, usage, arguments, details, value, using, findmethod, as, references, see, also, examples, package, documentation, browse, packages, we, want, your, feedback,

Text of the page (most frequently used words):
the (129), for (60), class (52), #method (43), methods (38), function (34), and (30), signature (30), generic (21), that (20), classes (20), package (19), object (15), from (15), functions (14), getmethod (14), arguments (14), optional (13), objects (12), not (12), selectmethod (12), packages (11), with (11), findmethod (11), this (10), documentation (10), use (10), can (9), test (9), corresponding (9), argument (9), definition (8), inheritance (8), call (8), testfun (8), true (8), see (8), which (8), where (8), you (7), find (7), list (7), formal (7), definitions (7), names (7), hasmethod (7), default (7), selection (6), inherited (6), specified (6), create (6), get (6), using (6), false (6), one (6), will (6), returns (6), your (5), what (5), used (5), any (5), details (5), section (5), search (5), returned (5), null (5), code (4), language (4), other (4), basic (4), group (4), methodslist (4), name (4), current (4), existsmethod (4), also (4), only (4), match (4), does (4), case (4), found (4), error (4), but (4), may (4), character (4), want (3), have (3), its (3), show (3), all (3), version (3), defined (3), represent (3), representation (3), generate (3), new (3), defunct (3), methods_details (3), methoddefinition (3), look (3), environment (3), signatures (3), different (3), would (3), useinherited (3), had (3), loaded (3), thispkg (3), whether (3), exported (3), has (3), value (3), table (3), except (3), are (3), these (3), supplied (3), mlist (3), fdef (3), more (2), information (2), embedding (2), remove (2), website (2), github (2), note (2), support (2), run (2), rdrr (2), home (2), improve (2), page (2), looks (2), special (2), internally (2), about (2), substitutedirect (2), slots (2), slot (2), style (2), setmethod (2), loading (2), setgeneric (2), coercing (2), setas (2), super (2), contain (2), utilities (2), reference (2), managing (2), shell (2), vector (2), associated (2), non (2), types (2), methodwithnext (2), skeleton (2), file (2), dispatch (2), deprecated (2), linearmethodslist (2), elements (2), initialize (2), versions (2), given (2), genericfunctions (2), description (2), without (2), internal (2), empty (2), line (2), including (2), coerced (2), data (2), numeric (2), integer (2), chambers (2), john (2), some (2), being (2), they (2), result (2), valid (2), must (2), define (2), another (2), called (2), directly (2), length (2), question (2), namespace (2), directive (2), otherwise (2), like (2), named (2), means (2), environments (2), primitive (2), required (2), itself (2), selected (2), normally (2), session (2), idea (2), makes (2), generics (2), particular (2), strings (2), avoid (2), matching (2), subset (2), verbose (2), docache (2), unless (2), below (2), close, customizing, embed, read, snippets, copy, clipboard, add, following, snippet, personal, blog, ian, mutexlabs, com, issue, tracker, tweet, rdrrhq, provide, technical, individual, should, contact, authors, feedback, forge, bioconductor, cran, browse, online, submit, extra, info, suggestion, looking, content, wrong, builtin, zbasicfunslist, validity, validobject, control, tracing, traceclasses, report, testinheritedmethods, structures, structureclasses, envrefclass, stdrefclass, showmethods, setsclass, register, old, setoldclass, save, set, actions, setloadactions, specify, superclass, explicitly, setis, setgroupgeneric, union, setclassunion, setclass, specific, kinds, selectsuperclasses, extension, relations, sclassextension, s4groupgeneric, s3part, rmethodutils, construct, prototype, removemethod, fields, treated, oop, refclass, rclassutils, promptmethods, promptclass, objectswithpackage, structure, nonstructure, nextmethod, utility, plus, compatibility, methodutilities, additional, methodsupport, methods_for_s3, methods_for_nongenerics, general, localized, based, localrefclass, languageel, unevaluated, languageclasses, check, sealed, issealedmethod, introduction, inheritedslotnames, manage, implicit, implicitgeneric, hasarg, getpackagename, getclass, tools, genericfunction, fix, saved, previous, fixprevious, findmethods, findclass, source, evalsource, environmentclass, representing, emptymethodslist, dotsmethods, creating, classrepresentation, classname, compute, adjacency, matrix, superclasses, classestoam, classes_details, combine, two, columns, rows, cbind2, certain, cancoerce, callgeneric, basicclasses, force, belong, examples, manipulating, represents, 2008, springer, software, analysis, programming, 2016, chapman, hall, chapters, extending, references, evaluator, selects, purpose, form, while, cannot, inherit, target, since, examine, procedure, supply, allows, works, defining, coerce, notice, trailing, even, currently, did, export, attaching, calling, asnamespace, need, ask, important, distinction, absence, such, prevent, once, could, suggests, intended, behave, produces, part, exportmethods, was, therefore, reliable, failed, extends, thrown, return, according, first, second, both, obtained, cause, rarely, useful, contrast, needed, full, mechanism, taken, into, account, just, dispatching, exception, conditional, generates, depending, meaning, implicitly, correspond, giving, missing, good, confusion, dealing, something, matched, same, rules, calls, specifies, precise, identifying, those, included, however, permitted, taking, order, work, expected, others, none, them, normal, nonstandard, generated, comes, command, string, usage, respectively, finds, similarly, failing, browser, docs,


Text of the page (random words):
getmethod get or test for the definition of a method rdrr io find an r package r language docs run r in your browser home r documentation methods getmethod get or test for the definition of a method getmethod get or test for the definition of a method getmethod r documentation get or test for the definition of a method description the function selectmethod returns the method that would be selected for a call to function f if the arguments had classes as specified by signature failing to find a method is an error unless argument optional true in which case null is returned the function findmethod returns a list of environments that contain a method for the specified function and signature by default these are a subset of the packages in the current search list see section using findmethod for details the function getmethod returns the method corresponding to the function and signature supplied similarly to selectmethod but without using inheritance or group generics the functions hasmethod and existsmethod test whether selectmethod or getmethod respectively finds a matching method usage selectmethod f signature optional false useinherited mlist fdef verbose docache findmethod f signature where getmethod f signature character where optional false mlist fdef existsmethod f signature character where hasmethod f signature character where arguments f a generic function or the character string name of one signature the signature of classes to match to the arguments of f see the details below where the environment in which to look for the method s by default if the call comes from the command line the table of methods defined in the generic function itself is used except for findmethod see the section below optional if the selection in selectmethod does not find a valid method an error is generated unless optional is true in which case the value returned is null mlist fdef useinherited verbose docache optional arguments to getmethod and selectmethod for internal use avoid these some will work as expected and others will not and none of them is required for normal use of the functions but see the section methods for as for nonstandard inheritance details the signature argument specifies classes corresponding to formal arguments of the generic function to be precise to the signature slot of the generic function object the argument may be a vector of strings identifying classes and may be named or not names if supplied match the names of those formal arguments included in the signature of the generic that signature is normally all the arguments except however generic functions can be specified with only a subset of the arguments permitted or with the signature taking the arguments in a different order it s a good idea to name the arguments in the signature to avoid confusion if you re dealing with a generic that does something special with its signature in any case the elements of the signature are matched to the formal signature by the same rules used in matching arguments in function calls see match call the strings in the signature may be class names missing or any see methods_details for the meaning of these in method selection arguments not supplied in the signature implicitly correspond to class any in particular giving an empty signature means to look for the default method a call to getmethod returns the method for a particular function and signature the search for the method makes no use of inheritance the function selectmethod also looks for a method given the function and signature but makes full use of the method dispatch mechanism i e inherited methods and group generics are taken into account just as they would be in dispatching a method for the corresponding signature with the one exception that conditional inheritance is not used like getmethod selectmethod returns null or generates an error if the method is not found depending on the argument optional both selectmethod and getmethod will normally use the current version of the generic function in the r session which has a table of the methods obtained from all the packages loaded in the session optional arguments can cause a search for the generic function from a specified environment but this is rarely a useful idea in contrast findmethod has a different default and the optional where argument may be needed see the section using findmethod the functions existsmethod and hasmethod return true or false according to whether a method is found the first corresponding to getmethod no inheritance and the second to selectmethod value the call to selectmethod or getmethod returns the selected method if one is found this class extends function so you can use the result directly as a function if that is what you want otherwise an error is thrown if optional is false and null is returned if optional is true the returned method object is a methoddefinition object except that the default method for a primitive function is required to be the primitive itself note therefore that the only reliable test that the search failed is is null the returned value of findmethod is a list of environments in which a corresponding method was found that is a table of methods including the one specified using findmethod as its name suggests this function is intended to behave like find which produces a list of the packages on the current search list which have and have exported the object named that s what findmethod does also by default the exported part in this case means that the package s namespace has an exportmethods directive for this generic function an important distinction is that the absence of such a directive does not prevent methods from the package from being called once the package is loaded otherwise the code in the package could not use un exported methods so if your question is whether loading package thispkg will define a method for this function and signature you need to ask that question about the namespace of the package findmethod f signature where asnamespace thispkg if the package did not export the method attaching it and calling findmethod with no where argument will not find the method notice also that the length of the signature must be what the corresponding package used if thispkg had only methods for one argument only length 1 signatures will match no trailing any even if another currently loaded package had signatures with more arguments methods for as the function setas allows packages to define methods for coercing one class of objects to another class this works internally by defining methods for the generic function coerce from to which can not be called directly the r evaluator selects methods for this purpose using a different form of inheritance while methods can be inherited for the object being coerced they cannot inherit for the target class since the result would not be a valid object from that class if you want to examine the selection procedure you must supply the optional argument useinherited c true false to selectmethod references chambers john m 2016 extending r chapman hall chapters 9 and 10 chambers john m 2008 software for data analysis programming with r springer section 10 6 for some details of method selection see also methods_details for the details of method selection genericfunctions for other functions manipulating methods and generic function objects methoddefinition for the class that represents method definitions examples testfun function x x setgeneric testfun setmethod testfun numeric function x x 1 hasmethod testfun numeric true hasmethod testfun integer true inherited existsmethod testfun integer false hasmethod testfun true default method hasmethod testfun any methods as force an object to belong to a class basicclasses classes corresponding to basic data types callgeneric call the current generic function from a method cancoerce can an object be coerced to a certain s4 class cbind2 combine two objects by columns or rows classes s4 class documentation classes_details class definitions classestoam compute an adjacency matrix for superclasses of class classname class names including the corresponding package classrepresentation class class objects documentation using and creating on line documentation for classes and dotsmethods the use of in method signatures emptymethodslist class internal class representing empty methods list environmentclass class environment evalsource use function definitions from a source file without findclass find class definitions findmethods description of the methods defined for a generic function fixprevious fix objects saved from r versions previous to 1 8 genericfunction class generic function objects genericfunctions tools for managing generic functions getclass get class definition getmethod get or test for the definition of a method getpackagename the name associated with a given package hasarg look for an argument in the call implicitgeneric manage implicit versions of generic functions inheritedslotnames names of slots inherited from a super class initialize methods methods to initialize new objects from a class introduction basic use of s4 methods and classes is is an object from a class issealedmethod check for a sealed method or class languageclasses classes to represent unevaluated language objects languageel elements of language objects linearmethodslist class class linearmethodslist localrefclass localized objects based on reference classes methoddefinition class classes to represent method definitions methods s4 class documentation methods defunct defunct functions in package methods methods deprecated deprecated functions in package methods methods_details general information on methods methods_for_nongenerics methods for non generic functions in other packages methods_for_s3 methods for s3 and s4 dispatch method skeleton create a skeleton file for a new method methodslist methodslist objects methodslist class class methodslist defunct representation of methods methods package formal methods and classes methodsupport additional support functions for methods methodutilities utility functions for methods and s plus compatibility methodwithnext class class methodwithnext new generate an object from a class nextmethod call an inherited method nonstructure class a non structure s4 class for basic types objectswithpackage class a vector of object names with associated package names promptclass generate a shell for documentation of a formal class promptmethods generate a shell for documentation of formal methods rclassutils utilities for managing class definitions refclass objects with fields treated by reference oop style removemethod remove a method representation construct a representation or a prototype for a class rmethodutils method utilities s3part s4 classes that contain s3 classes s4groupgeneric s4 group generic functions sclassextension class class to represent inheritance extension relations selectsuperclasses super classes of specific kinds of a class setas methods for coercing an object to a class setclass create a class definition setclassunion classes defined as the union of other classes setgeneric create a generic version of a function setgroupgeneric create a group generic version of a function setis specify a superclass explicitly setloadactions set actions for package loading setmethod create and save a method setoldclass register old style s3 classes and inheritance setsclass create a class definition show show an object showmethods show all the methods for the specified function s or class signature class class signature for method definitions slot the slots in an object from a formal class stdrefclass class envrefclass structureclasses classes corresponding to basic structures substitutedirect substitutedirect testinheritedmethods test for and report about selection of inherited methods traceclasses classes used internally to control tracing validobject test the validity of an object zbasicfunslist list of builtin and special functions what can we improve the page or its content looks wrong i can t find what i m looking for i have a suggestion other extra info optional submit improve this page r package documentation rdrr io home r language documentation run r code online browse r packages cran packages bioconductor packages r forge packages github packages we want your feedback note that we can t provide technical support on individual packages you should contact the package authors for that tweet to rdrrhq github issue tracker ian mutexlabs com personal blog embedding an r snippet on your website add the following code to your website remove this copy to clipboard for more information on customizing the embed code read embedding snippets close
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

    No Images


    Verified site has: 91 subpage(s). Do you want to verify them? Verify pages:

    1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
    51-55 56-60 61-65 66-70 71-75 76-80 81-85 86-90 91-91


    The site also has 3 references to external domain(s).

     twitter.com  Verify  github.com  Verify  ianhowson.com  Verify


    Top 50 hastags from of all verified websites.

    Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

    Header

    HTTP/1.1 308 Permanent Redirect
    Date Thu, 27 Aug 2026 23:51:35 GMT
    Content-Type text/html
    Content-Length 164
    Connection close
    Location htt????/rdrr.io/r/methods/getMethod.html
    HTTP/2 200
    date Thu, 27 Aug 2026 23:51:35 GMT
    content-type text/html; charset=utf-8
    content-length 38268
    x-frame-options SAMEORIGIN
    expires Fri, 28 Aug 2026 00:51:35 GMT
    cache-control s-maxage=86400, public, max-age=14400
    strict-transport-security max-age=15724800; includeSubDomains

    Meta Tags

    title="getMethod: Get or Test for the Definition of a Method"
    charset="utf-8"
    http-equiv="X-UA-Compatible" content="IE=edge"
    name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"
    property="og:title" content="getMethod: Get or Test for the Definition of a Method"
    itemprop="position" content="1"
    itemprop="position" content="2"
    itemprop="position" content="3"

    Load Info

    page size38268
    load time (s)0.174723
    redirect count1
    speed download219931
    server IP 138.201.54.179
    * all occurrences of the string "http://" have been changed to "htt???/"