Gets the file names in the directory.
Contrary to 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.
A character string of the filename pattern passed. See
list.files() for more details.
If TRUE, also files starting with a period are returned.
If TRUE, the full path names are returned.
Not used.
Returns a vector of file names.
Recursive searching of directory structure is done breath-first in a lexicographic order.
Internally list.files() is used.