推 Wush978: dir+for loop?? 01/22 12:49
→ eco100: 若檔名還沒有規則性呢? 01/22 13:18
推 taichi53719: 也許加上這個幫得上忙 list.files() 01/22 13:42
推 yanchenglin: 讀取特定副檔名用list.file("D:/", pattern="*.csv") 01/22 15:57
→ yanchenglin: 在用sapply全部讀取.若只要讀取資料夾內所有檔案,用 01/22 15:57
→ yanchenglin: DirSource("D:/")$file 再配sapply全部讀取 01/22 15:58
→ yanchenglin: 用英文可以Google到相關方法,大推stackoverflow.com 01/22 16:01
→ gsuper: system("ls",intern=TRUE) #限linux 01/22 23:26