📅  最后修改于: 2022-03-11 14:51:57.796000             🧑  作者: Mango
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,
...)