let's say I have these many dataset (let's imagine 1000 datasets) :
df1 = data.frame(x = 1:10)
df2 = data.frame(x = 2:11)
df3 = data.frame(x = 3:5)
df4 = data.frame(x = 11:20)
I want to create a list that is called L as follows
L = list(df1,df2,df3,df4)
but if I have thousands of dataframes, it would be difficult to write each dataframe namein the list. Would take forever. Would like a function that can make creating this list easier. Thanks.