View source: R/sort_files_by_date.R
sort_files_by_date | R Documentation |
Sort file list based on their date attributes
sort_files_by_date(
file_names,
n_return = "all",
date_sort = "mtime",
return_what = "paths"
)
file_names |
A character vector of fully expanded file paths (not a list) |
n_return |
The number of files to be returned or "all" of them |
date_sort |
Which file date property should be used for sorting? |
return_what |
What should the output format be, a vector of "paths" or a "table" of files and their attributes? |
A list of fully expanded file paths or a table of sorts files names with their attributes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.