files_in_directory | R Documentation |
Wrapper around list.files()
files_in_directory(path = ".", pattern = ".csv", recursive = TRUE)
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. |
recursive |
logical. Should the listing recurse into directories? |
Returns a character vector containing the names of the files in the specified directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.