save data frames in a loop r code example
Example: save data frames in a loop r
for(i in 1:n){
assign(paste0("name", i), df) # saves to environment
}
# then you can for example
df_list <- list(name1 = name1,
name2 = name2,
...)