Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一堆 csv 文件,我正在将它们读入如下列表:
f <- list.files(pattern="201\\d{5}\\.csv")
有什么方法可以计算我正在阅读多少个文件?
是的,length(f)会给你文件名的数量f。
length(f)
f