list_files | R Documentation |
A wrapper around list.files()
that gives the possibility to name each file directly.
list_files( path = ".", target = NULL, names, full.names = TRUE, ..., err_on_empty = TRUE )
path |
A character vector of full path names. |
target |
An optional |
names |
A vector of names to assign to each file, a function, formula or regular expression to extract names from file names. |
full.names |
Should the full path be returned? |
... |
Other arguments passed on to |
err_on_empty |
If |
A character vector of class collection
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.