set_fdate {filenamer}R Documentation

Set date stamp in a file name

Description

This function sets the date stamp in a file name.

Usage

set_fdate(x, date)

Arguments

x

a character or a filename

date

new date stamp (character or Date)

Value

modified object of the original type

Examples

x <- "data_norm_2011-01-03.txt"
print(set_fdate(x, "2011-01-05"))


[Package filenamer version 0.2.4 Index]