list_files | R Documentation |
list_files
is a wrapper for list.files
but
full.names
has the default value of TRUE
.
list_files(
path = ".",
pattern = NULL,
all.files = FALSE,
full.names = TRUE,
recursive = FALSE,
ignore.case = FALSE,
include.dirs = FALSE,
no.. = FALSE,
fs_path = FALSE,
verbose = FALSE
)
path |
Path of directory. |
pattern |
Pattern for regular expression matching. |
all.files |
Logical to force the return of hidden files. |
full.names |
Logical to force the full file path to be returned. The
default is |
recursive |
Logical to operate recursively. |
ignore.case |
Logical for |
include.dirs |
Should sub-directory names be included? |
no.. |
Should |
fs_path |
Should the return be an fs path? Useful for tidying paths and colour printing. |
verbose |
Should the function give messages? |
Vector of file names or paths.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.