Learn R Programming

mark (version 0.8.1)

get_recent_file: Get recent file

Description

A function where you can detect the most recent file from a directory.

Usage

get_recent_file(x, exclude_temp = TRUE, ...)

Value

The full name of the most recent file from the stated directory

Arguments

x

The directory in which to search the file

exclude_temp

Logical, if TRUE tries to remove temp Windows files

...

Additional arguments passed to list_files()