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:

        cbind(l[[1]],l[[2]],l[[3]],l[[4]])

I find this ugly and not very general.

I tried
        cbind(l)
        cbind(l[[1:4]])
but they do not give the right result.

Please help!

Best regards
Thomas
--
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
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to