2017-09-26 61 views

回答

2

假設你的意思是最後一個字母排序,並假設你的工作目錄設置適當,

ff <- list.files() 
lastfile <- ff[length(ff)] ## or tail(ff,1) 
x <- read.csv(lastfile)