Nice! I was going to recommend merge(merge(myList[[1]], myList[[2]], all=TRUE, sort=FALSE), myList[[3]], all=TRUE, sort=FALSE)
but rbind.fill is better. -Ista On Tue, Oct 20, 2009 at 10:05 AM, Karl Ove Hufthammer <k...@huftis.org> wrote: > In article <4addc1d0.2040...@yahoo.de>, niederlein-rs...@yahoo.de > says... >> In every list entry is a data.frame but the columns are only partially >> the same. If I have exactly the same columns, I could do the following >> command to combine my data: >> >> do.call("rbind", myList) >> >> but of course it does not work with differnt column names. Is there any >> easy way to retrieve a combined table like this: > > You're in luck. 'rbind.fill' in the 'plyr' package does exactly what you > want. > > -- > Karl Ove Hufthammer > > ______________________________________________ > 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. > -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org ______________________________________________ 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.