Learn R Programming

filenamer (version 0.3)

set_fdate: Set date stamp in a file name

Description

This function sets the date stamp in a file name.

Usage

set_fdate(x, date)

Value

modified object of the original type

Arguments

x

a character or a filename

date

new date stamp (character or Date)

Examples

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

Run the code above in your browser using DataLab