Description Usage Arguments Value Note Author(s) See Also Examples
List files and directories in current directory in matrix format. Each row is preceded by a row number.
1 2 |
path |
A character vector of full path names; the default corresponds to the working directory |
pattern |
An optional regular expression. Only file names which match the regular expression will be returned. |
all.files |
Logical. If |
full.names |
Logical. If |
recursive |
Logical. Should the listing recurse into directories? |
ignore.case |
Logical. Should pattern-matching be case-insensitive? |
A matrix containing the names of the files and directories, preceded by a row number, in the specified directories. If a path does not exist or is not a directory or is unreadable it is skipped, with a warning.
The files are sorted in alphabetical order, on the full path if full.names = TRUE
. Directories are included only if recursive = FALSE
.
File naming conventions are platform dependent. recursive = TRUE
is not supported on all platforms and may be ignored (with a warning).
Antoine Tremblay, Statistics Canada, trea26@gmail.com
1 | f()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.