[R] Binding multiple data frames into single data frame

Joshua Wiley jwiley.psych at gmail.com
Mon Jul 25 02:43:08 CEST 2011

Hi Madana,

No example data, so untested, but I think this will do what you want:

do.call("rbind", DF)



On Sun, Jul 24, 2011 at 5:38 PM, Madana_Babu <madana_babu at infosys.com> wrote:
> Hi all,
> I have multiple data frames created with equal number of columns in each
> data frame by using mclapply() on multicore processor. The data frames are
> like DF[[1]], DF[[2]], ... DF[[150]]. Now i want to bind (Similar like
> rbind()) all these data frames and create one single data frame called DF so
> that i can have the complete data for further analysis. Can someone help me
> in performing this function through looking (without manual specification of
> DF[[count]]s).
> Thanks in advance for your help.
> Regards,
> Madana
> --
> View this message in context: http://r.789695.n4.nabble.com/Binding-multiple-data-frames-into-single-data-frame-tp3691335p3691335.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at 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.

Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles

More information about the R-help mailing list