Re: [R] Learning S3

2009-07-02 Thread Hadley Wickham
On Thu, Jun 18, 2009 at 12:08 PM, Dirk Eddelbuettel wrote: > > On 18 June 2009 at 09:36, Bert Gunter wrote: > | -- or Chapter 4 in S PROGRAMMING? (you'll need to determine if it's "reader > | friendly") > > +1 > > It helped me a lot too back in the day.  But I am wondering if there are good > curre

Re: [R] Learning S3

2009-06-18 Thread Dirk Eddelbuettel
On 18 June 2009 at 09:36, Bert Gunter wrote: | -- or Chapter 4 in S PROGRAMMING? (you'll need to determine if it's "reader | friendly") +1 It helped me a lot too back in the day. But I am wondering if there are good current alternatives. Hadley: if you could, please send a summary back to the

Re: [R] Learning S3

2009-06-18 Thread Hadley Wickham
ck > Sent: Thursday, June 18, 2009 9:17 AM > To: Hadley Wickham > Cc: r-help > Subject: Re: [R] Learning S3 > > There is a section on Object Orientation in MASS (I have 2nd ed). > > On Thu, Jun 18, 2009 at 12:06 PM, Hadley Wickham wrote: >> Hi all, >> >> Do you k

Re: [R] Learning S3

2009-06-18 Thread Bert Gunter
t: Thursday, June 18, 2009 9:17 AM To: Hadley Wickham Cc: r-help Subject: Re: [R] Learning S3 There is a section on Object Orientation in MASS (I have 2nd ed). On Thu, Jun 18, 2009 at 12:06 PM, Hadley Wickham wrote: > Hi all, > > Do you know of any good resources for learning how S3 works?  I&

Re: [R] Learning S3

2009-06-18 Thread Henrik Bengtsson
Not a suggestion on documentation, but to ease S3 coding and hiding some of the details, you might want to consider the R.methodsS3 package. It basically provides some S3 code generators and makes it clear what class of objects a method is dispatched on. From the example code: setMethodS3("foo",

Re: [R] Learning S3

2009-06-18 Thread Gabor Grothendieck
There is a section on Object Orientation in MASS (I have 2nd ed). On Thu, Jun 18, 2009 at 12:06 PM, Hadley Wickham wrote: > Hi all, > > Do you know of any good resources for learning how S3 works?  I've > some how become familiar with it by reading many small pieces, but now > that I'm teaching it

[R] Learning S3

2009-06-18 Thread Hadley Wickham
Hi all, Do you know of any good resources for learning how S3 works? I've some how become familiar with it by reading many small pieces, but now that I'm teaching it to students I'm wondering if there are any good resources that describe it completely, especially in a reader-friendly way. So far