File: latestFile.Rd

package info (click to toggle)
hmisc 5.2-4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,044 kB
  • sloc: asm: 28,905; f90: 590; ansic: 415; xml: 160; fortran: 75; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/latestFile.r
\name{latestFile}
\alias{latestFile}
\title{latestFile}
\usage{
latestFile(pattern, path = ".", verbose = TRUE)
}
\arguments{
\item{pattern}{a regular expression; see \code{\link[base:list.files]{base::list.files()}}}

\item{path}{full path, defaulting to current working directory}

\item{verbose}{set to \code{FALSE} to not report on total number of matching files}
}
\value{
the name of the last modified file
}
\description{
Find File With Latest Modification Time
}
\details{
Subject to matching on \code{pattern} finds the last modified file, and if \code{verbose} is \code{TRUE} reports on how many total files matched \code{pattern}.
}
\seealso{
\code{\link[base:list.files]{base::list.files()}}
}
\author{
Frank Harrell
}