Gets the file names in the directory
Gets the file names in the directory.
list.files(), this method guarantees to work
recursively. Moreover, when subdirectories are processed recursively,
directory names are also returned.
# S3 method for default listDirectory(path=".", pattern=NULL, recursive=FALSE, allNames=FALSE, fullNames=FALSE, ...)
A path to be listed.
TRUE, subdirectories are recursively processed, and not if
FALSE. Alternatively, the maximum recursive depth can be specified as a non-negative
TRUE, also files starting with a period are returned.
TRUE, the full path names are returned.
vector of file names.
Recursive searching of directory structure is done breath-first in a lexicographic order.
list.files() is used.