Or even more simply: On Mon, Dec 29, 2008 at 12:17 PM, Henrique Dallazuanna <www...@gmail.com> wrote: > Try this: > > do.call(rbind, lapply(l, "[", unique(unlist(sapply(l, names))))) > > Where "l" is your list.
Or even more simply: library(plyr) do.call(rbind.fill, l) which doesn't get the variable order quite right, but should in a future version. Hadley -- http://had.co.nz/ ______________________________________________ R-help@r-project.org 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.