Displaying 1 result from an estimated 1 matches for "asmethoddefinition".
2002 May 22
1
signature match in setMethod (PR#1592)
Full_Name: Tim Keitt
Version: 1.5
OS: Linux
Submission from: (NULL) (128.227.201.237)
The function "setMethod" makes the following call to "insertMethod":
allMethods <- insertMethod(allMethods, signature, fnames[1:length(signature)],
asMethodDefinition(definition, signature))
If I understand insertMethod correctly, the third argument should be the names
of the formal arguments of the method. However, this fails if the signature is
something like "c('x', 'i', 'j', 'drop')" and the formal args are "c(...