Description Usage Arguments Value See Also Examples
Returns names of files and directories 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 paths (files and directories)– 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 names) paths. Defaults to FALSE. |
recursive |
Logical indicating whether to recursively list paths. |
pattern |
Regular expression pattern on which to filter (return) matching results. Defaults to NULL, meaning all paths will be returned. |
ignore.case |
Logical indicating whether to ignore case if
|
invert |
Logical indicating whether to invert (return those that DO NOT match) pattern matching results–defaults to FALSE. |
A character vector of paths.
Other list_paths: list_dirs
,
list_files
1 2 | ## list paths in working directory
list_paths()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.