[R] Stacking a list of data.frames

From: TAPO (Thomas Agersten Poulsen) <TAPO_at_novozymes.com>
Date: Thu 07 Sep 2006 - 11:56:56 GMT

Dear list,

I have a list of data.frames (generated by "by"), that I want to "stack" into a single data.frame.

I can do this by cbind, but only by subsetting the list explicitly like this:


I find this ugly and not very general.

I tried


but they do not give the right result.

Please help!

Best regards

Thomas A Poulsen        Scientist, Ph.D.
Novozymes A/S           Protein Design / Bioinformatics
Brudelysvej 26, 1US.24  Phone: +45 44 42 27 23
DK-2880 Bagsværd.       Fax:   +45 44 98 02 46

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu Sep 07 22:00:47 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 13:55:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.