ssage-
>> > 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-
rg] 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 data.frame that contains a
-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]
bject: Re: [Rd] rbind on data.frame that contains a column
> that is also a data.frame
>
> OK...I'll put in my 2 cents worth.
>
> It seems to me that the problem is with this line:
>
> b$a=a , where "s" is something other than a vector with
> length equ
OK...I'll put in my 2 cents worth.
It seems to me that the problem is with this line:
b$a=a , where "s" is something other than a vector with
length equal to nrow(b).
I had no idea that a dataframe could hold a dataframe. It is not just
rbind(b,b) that fails, apply(b,1,sum) fails and so does pl
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)