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]]