I have over 50 data.frames in my working environment that I would like to rbind. Is there a way to rbind the data.frames with out having to type out each date.frame?
Example of what I have been doing:
df <- rbind(A, B, C, D, E, F)
I have tried:
df <- rbind(ls())
But this just creates a list of names of all the data.frames in my working environment.
You can search for objects of
data.frame
class, and use functionmget
to retrieve them.