Re: [Rd] How to put my S4 class into data.frame

2006-11-04 Thread Gregor Gorjanc
John Chambers wrote: > Designing a "better data frame" is something many people have likely > thought about; I certainly have. > > But data frames are so widely used and so central to models and other > software that a major change needs to be done by the user community, or > at least with maximum

Re: [Rd] How to put my S4 class into data.frame

2006-11-04 Thread John Chambers
Designing a "better data frame" is something many people have likely thought about; I certainly have. But data frames are so widely used and so central to models and other software that a major change needs to be done by the user community, or at least with maximum feedback, IMO. Also, my prio

Re: [Rd] How to put my S4 class into data.frame

2006-11-04 Thread hadley wickham
> OTOH, it's interesting that some methods to "stick some S4 > objects into a data frame do work fine , at least for the > following case (R-script below) -- and I wonder if we (R developers) > shouldn't think about more explicitly supporting this, > e.g., by stating something like > > >> If an S

Re: [Rd] How to put my S4 class into data.frame

2006-11-04 Thread Gregor Gorjanc
Hi, Martin Maechler wrote: >> "Gregor" == Gregor Gorjanc <[EMAIL PROTECTED]> >> on Sat, 04 Nov 2006 02:09:13 +0100 writes: > > Gregor> Ferdinand Alimadhi wrote: > > >> tmp$comp <- [EMAIL PROTECTED] ?! > > Gregor> I "lose" class here and that is not what I > Gregor>

Re: [Rd] How to put my S4 class into data.frame

2006-11-04 Thread Martin Maechler
> "Gregor" == Gregor Gorjanc <[EMAIL PROTECTED]> > on Sat, 04 Nov 2006 02:09:13 +0100 writes: Gregor> Ferdinand Alimadhi wrote: >> tmp$comp <- [EMAIL PROTECTED] ?! Gregor> I "lose" class here and that is not what I Gregor> want. Perhaps I should stick with list inst