Is there a way to list directories, but ignore the last/base file in R?
I’m working with a directory that has close to 90,000 files inside 200 folders. With such a large number of files both list.files() and the list.dirs() functions are incredibly slow. The thing is I’m not even interested in the files just extracting the names of the folders and their directories.