Learn R Programming

taxlist (version 0.2.3)

sort_backups: Sorting files with time stamp and suffix

Description

When backups have been saved with a time stamp in the file's name and a suffix, in the case of more than one backup in one day.

Usage

sort_backups(file, f_timestamp = "%Y-%m-%d", fext = ".rda")

Value

A data frame including the sorted names of backup files from the oldest to the newest.

Arguments

file

A character value indicating the root of the backup's name. It may include also the path relative to the working directory when the backup is stored in a sub-folder.

fext

A character value indicating the file extension (including the dot symbol).