0

I have several dataframes that I want to put in a list, so that they will be kept as separate dataframes (i.e. a list with 6 elements). when I do it like this, it works:

df.list.fin <- list(data53,data54,data113,data117,data123,data127)

I want to make it automatic so I will not have to enter the numbers each time. I tried to do the following:

df.list.fin <- list(mget(paste0("data",video_number)))

Now I still get a list, but the dataframes within the list are not separable from one another. That is, I get one big list with one element.

Any idea how to correct this?

Ronak Shah
  • 377,200
  • 20
  • 156
  • 213
Lior
  • 11
  • 1

0 Answers0