Description Usage Arguments Value See Also Examples
Returns names of files located in a given directory. It's similar to list.files() only with better defaults and behaviors.
1 2 |
path |
Directory from which to locate dirs–defaults to current working directory. |
full |
Logical indicating whether to return full paths. Defaults to TRUE. |
all |
Logical indicating whether to return all (include dot files) file names. Defaults to FALSE. |
recursive |
Logical indicating whether to recursively list files. |
pattern |
Regular expression pattern on which to filter (return) matching results. Defaults to NULL, meaning all qualifying files will be returned. |
ignore.case |
Logical indicating whether to ignore case if
|
invert |
Logical indicating whether to invert (return those that DO NOT match) regex matching results–defaults to FALSE. |
A character vector of directories
Other list_paths: list_dirs
,
list_paths
1 2 | ## list files in working directory
list_files()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.