On 4/25/2007 4:09 PM, Hendrik Fuß wrote:
> Hi,
> 
> I have a list of n data.frames (or matrices) which I would like to
> convert to a single data.frame using rbind:
> 
>    x <- rbind( l[[1]], l[[2]], l[[3]], l[[4]], ..., l[[n]] )
> 
> Is there a simple way to do this?

do.call(rbind, l).

Duncan Murdoch

______________________________________________
[email protected] 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