Re: [R] s3 methods on S4 objects

2011-01-13 Thread steven mosher
Martin, that helps. I I made the mistake you outlined below > setGeneric("as.data.frame", function(x) standardGeneric("as.data.frame")) Creating a generic for 'as.data.frame' in package '.GlobalEnv' (the supplied definition differs from and overrides the implicit generic in p

Re: [R] s3 methods on S4 objects

2011-01-13 Thread Martin Morgan
On 01/13/2011 09:49 AM, steven mosher wrote: > > > On Thu, Jan 13, 2011 at 6:46 AM, Martin Morgan > wrote: > > On 01/12/2011 10:54 PM, steven mosher wrote: > > I have J Chambers wonderful text ( Software for data Analysis) and > I've been > > trying >

Re: [R] s3 methods on S4 objects

2011-01-13 Thread steven mosher
On Thu, Jan 13, 2011 at 6:46 AM, Martin Morgan wrote: > On 01/12/2011 10:54 PM, steven mosher wrote: > > I have J Chambers wonderful text ( Software for data Analysis) and I've > been > > trying > > my hand at some very routine S4 OOP development. > > > > One of the things I was trying to do was

Re: [R] s3 methods on S4 objects

2011-01-13 Thread Martin Morgan
On 01/12/2011 10:54 PM, steven mosher wrote: > I have J Chambers wonderful text ( Software for data Analysis) and I've been > trying > my hand at some very routine S4 OOP development. > > One of the things I was trying to do was to create some very basic S4 > classes. The first > was simply a clas

[R] s3 methods on S4 objects

2011-01-12 Thread steven mosher
I have J Chambers wonderful text ( Software for data Analysis) and I've been trying my hand at some very routine S4 OOP development. One of the things I was trying to do was to create some very basic S4 classes. The first was simply a class that had a data.frame as part of its representation. set