Re: [Rd] Formal methods are not loaded from NAMESPACE in reloadedworkspace image

2006-11-04 Thread John Chambers
This turned out to be nastier than expected, so it's good you pointed it out. The problem is not the serialized objects themselves, but the restoration of the namespace, for package urca in your example. Because the methods package had not been attached when the user data was restored, the me

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] eval(match.call()) (PR#9339)

2006-11-04 Thread Tom 'spot' Callaway
On Sat, 2006-11-04 at 00:07 +0100, [EMAIL PROTECTED] wrote: > On Fri, 2006-11-03 at 14:14 -0800, Bill Dunlap wrote: > > On Fri, 3 Nov 2006 [EMAIL PROTECTED] wrote: > > > > > > > On Fri, 2006-11-03 at 21:15 +0100, Peter Dalgaard wrote: > > > > > > > x <- quote(match.call()) > > > > > > > eval(x) >

Re: [Rd] eval(match.call()) (PR#9339)

2006-11-04 Thread marc_schwartz
On Sat, 2006-11-04 at 02:08 +0100, Peter Dalgaard wrote: > Bill Dunlap <[EMAIL PROTECTED]> writes: > > > On Fri, 3 Nov 2006 [EMAIL PROTECTED] wrote: > > > > > > > On Fri, 2006-11-03 at 21:15 +0100, Peter Dalgaard wrote: > > > > > > > x <- quote(match.call()) > > > > > > > eval(x) > > > > > > ***

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] man page for as.matrix for data frames outdated?

2006-11-04 Thread Martin Maechler
> "Herve" == Herve Pages <[EMAIL PROTECTED]> > on Fri, 03 Nov 2006 10:50:10 -0800 writes: Herve> Hi Martin, Herve> Thanks for the answer! Herve> OK I can use data.matrix to convert a data frame to a numeric Herve> matrix but that's another story. Basically I'm reporting

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