date.stamp.file.name {varitas} | R Documentation |
date.stamp.file.name
Description
Prefix file name with a date-stamp.
Usage
date.stamp.file.name(file.name, date = Sys.Date(), separator = "_")
Arguments
file.name |
File name to be date-stamped |
date |
Date to be added. Defaults to current date. |
separator |
String that should separate the date from the file name. Defaults to a single underscore. |
Value
String giving the datestamped file name
Examples
date.stamp.file.name('plot.png');
date.stamp.file.name('yesterdays_plot.png', date = Sys.Date() - 1);
[Package varitas version 0.0.2 Index]