美文网首页
R语言-循环读取excel内全部sheet

R语言-循环读取excel内全部sheet

作者: lucier19981 | 来源:发表于2021-01-22 18:12 被阅读0次

excel_path <- c("C:/Users/lvjs9/Desktop/excel.xlsx")
inverse_unf_l<- read_excel(excel_path,1)[0]
for (i in (1:length(excel_sheets(excel_path)))){
inverse_unf_l <- rbind(inverse_unf_l , read_excel(excel_path,i))
}

相关文章

网友评论

      本文标题:R语言-循环读取excel内全部sheet

      本文链接:https://www.haomeiwen.com/subject/jvlezktx.html