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

2021-01-22  本文已影响0人  lucier19981

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))
}

上一篇 下一篇

猜你喜欢

热点阅读