Delete comment from: One R Tip A Day
Wind said...
Thanks Paolo.
The dir() would scan the directories/files and file.info() would scan the directories/files again. So the directories/files would be scanned twice, which would take a long time if there is thousands of files. In dos, dir/a would list the necessary information with one scan.
Jul 9, 2009, 8:23:38 AM
Posted to File Management in R: two recipes

