I am attempting to row bind many data frames together into a single massive data frame. The data frames are named sequentially with the first named df1, the se
df1
do.call comes handy. The function you specify works on a list of arguments.
do.call
library(plyr) df.fill <- lapply(ls(pattern = "df"), get) df <- do.call("rbind.fill", df.fill) > str(df) 'data.frame': 10000 obs. of 2 variables: $ x: int 1 2 3 4 5 6 7 8 9 10 ... $ y: num 1 11.1 21.2 31.3 41.4 ...