On 04.03.2011 11:14, Nick Sabbe wrote:
Hello list.
This is from an R session (admittedly, I'm still using R 2.11.1):
print
function (x, ...)
UseMethod("print")
<environment: namespace:base>
showMethods("print")
Function "print":
<not a generic function>
Don't the two results contradict each other? Or do I have a terrible
misunderstanding of what comprises a generic function?
print() is an S3 generic while showMethods() shows S4 generics. To get a
list of possible S3 generics, use methods("print").
The S4 generic corresponding to print() is called show().
Uwe Ligges
Thx,
Nick Sabbe
--
ping: nick.sa...@ugent.be
link:<http://biomath.ugent.be/> http://biomath.ugent.be
wink: A1.056, Coupure Links 653, 9000 Gent
ring: 09/264.59.36
-- Do Not Disapprove
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.