Re: [R] How to combine two lists?

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Fri 30 Dec 2005 - 18:28:01 EST

c(list(a=1,b=2), list(c=3,d=4))

or

append(list(a=1,b=2), list(c=3,d=4))

On 12/30/05, Xiao Shi <bioconductor.cn@gmail.com> wrote:
>
> Hi every,
> I have two lists,one has 10 elements,another has 20 elements.And each
> element in these two lists has a unique name.I want to know how to
> combine
> these two lists, so i can index the elements by their names.
>
> Thanks.
> Jiantao Shi
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Dec 30 18:36:13 2005

This archive was generated by hypermail 2.1.8 : Fri 30 Dec 2005 - 20:39:49 EST