Re: [Rd] Simple class with an automatic printing issue

2009-04-13 Thread Tom Short
; > From: r-devel-boun...@r-project.org > > [mailto:r-devel-boun...@r-project.org] On Behalf Of Tom Short > > Sent: Sunday, April 12, 2009 4:00 PM > > To: r-devel@r-project.org > > Subject: [Rd] Simple class with an automatic printing issue > > > > I don&#x

Re: [Rd] Simple class with an automatic printing issue

2009-04-12 Thread William Dunlap
> [mailto:r-devel-boun...@r-project.org] On Behalf Of Tom Short > Sent: Sunday, April 12, 2009 4:00 PM > To: r-devel@r-project.org > Subject: [Rd] Simple class with an automatic printing issue > > I don't understand the following behavior for a simple S3 class. The > aut

[Rd] Simple class with an automatic printing issue

2009-04-12 Thread Tom Short
I don't understand the following behavior for a simple S3 class. The auto-printing at the command line doesn't behave as I expect. I'm probably missing something, but it might be a bug. > print.testClass <- function(x, ...) cat("Class:", class(x), ":", x, "\n") > structure(1, class = "testClass")