rbind multiple data frames without typing out all

2019-09-05 23:18发布

问题:

This question already has an answer here:

  • Rbind dataframes using wildcard 1 answer
  • R - use rbind on multiple variables with similar names 2 answers

Have 68 data frames with the same structure and columns. I started to use rbind and after typing in about 30 df names, I thought there might be an easier way to concatenate all the data frames without typing in each name. I mean, what if you have 100,000 data frames to concatenate? I looked at a dozen of online resources including this site and didn't find exactly what I was looking for.

All the 68 data frames are named sequentially. For example: df_01, df_02, ... up to df_68. I tried to do rbind(df_01:df_68) and of course this did not work.