
Find File With Latest Modification Time
latestFile(pattern, path = ".", verbose = TRUE)
the name of the last modified file
a regular expression; see base::list.files()
full path, defaulting to current working directory
set to FALSE
to not report on total number of matching files
Frank Harrell
Subject to matching on pattern
finds the last modified file, and if verbose
is TRUE
reports on how many total files matched pattern
.