Displaying 1 result from an estimated 1 matches for "r_iss4object".
Did you mean:
iss4object
2010 Jun 09
0
Argument mismatches in S3 generic and method
...oDots.foo: fooObject=")
; dput(fooObject) }
> foo <- structure(1:4, class="foo")
> x <- "x in .GlobalEnv"
> zNoDots(foo)
zNoDots.foo: fooObject=structure(1:4, class = "foo")
> zNoDots(x=foo)
zNoDots.foo: fooObject=Error in .Call("R_isS4Object", object, PACKAGE
= "base") :
'object' is missing
> zNoDots(fooObject=foo)
Error in zNoDots(fooObject = foo) : unused argument(s) (fooObject =
foo)
If there is an ellipsis in the function definition
the call can tag the argument by the name given in
the method,...