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 class 'default': listDirectory(path=".", pattern=NULL, recursive=FALSE, allNames=FALSE, fullNames=FALSE, ...)
- A path to be listed.
characterstring of the filename pattern passed. See
list.files() for more details.
TRUE, subdirectories are recursively processed, and not if
FALSE. Alternatively, the maximum recursive depth can be specified as
TRUE, also files starting with a period are returned.
TRUE, the full path names are returned.
- Not used.
- Returns a
vectorof file names.
Recursive searching of directory structure is done breath-first in a lexicographic order.
list.files() is used.