powered by
This function sets the date stamp in a file name.
set_fdate(x, date)
modified object of the original type
a character or a filename
character
filename
new date stamp (character or Date)
Date
x <- "data_norm_2011-01-03.txt" print(set_fdate(x, "2011-01-05"))
Run the code above in your browser using DataLab