📜  在循环中保存数据帧 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:57.796000             🧑  作者: Mango

代码示例1
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,
                ...)