Re: [Rd] rbind on data.frame that contains a column that is also a data.frame

2010-08-09 Thread Claudia Beleites
Dear all, I also use matrices inside data.frames in my (S4) class hyperSpec. So, yes, it would be great if commands like apply would work as straightforward as e.g. rbind does on such data.frames. The problem here seems to me different, though: Is it possible that the relevant difference

Re: [Rd] rbind on data.frame that contains a column that is also a data.frame

2010-08-07 Thread Martin Maechler
Heinz Tuechler tuech...@gmx.at on Sat, 07 Aug 2010 01:01:24 +0100 writes: Also Surv objects are matrices and they share the same problem when rbind-ing data.frames. If contained in a data.frame, Surv objects loose their class after rbind and therefore do not more

Re: [Rd] rbind on data.frame that contains a column that is also a data.frame

2010-08-06 Thread William Dunlap
-Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Nicholas L Crookston Sent: Friday, August 06, 2010 8:35 AM To: Michael Lachmann Cc: r-devel-boun...@r-project.org; r-devel@r-project.org Subject: Re: [Rd] rbind on

Re: [Rd] rbind on data.frame that contains a column that is also a data.frame

2010-08-06 Thread Heinz Tuechler
Also Surv objects are matrices and they share the same problem when rbind-ing data.frames. If contained in a data.frame, Surv objects loose their class after rbind and therefore do not more represent Surv objects afterwards. Using rbind with Surv objects outside of data.frames shows a similar

[Rd] rbind on data.frame that contains a column that is also a data.frame

2010-08-05 Thread Michael Lachmann
Hi, The following was already a topic on r-help, but after understanding what is going on, I think it fits better in r-devel. The problem is this: When a data.frame has another data.frame in it, rbind doesn't work well. Here is an example: -- a=data.frame(x=1:10,y=1:10) b=data.frame(z=1:10)