Learn R Programming

nprcgenekeepr (version 1.0.5)

getDatedFilename: Returns a character vector with an file name having the date prepended.

Description

Returns a character vector with an file name having the date prepended.

Usage

getDatedFilename(filename)

Arguments

filename

character vector with name to use in file name

Value

A character string with a file name prepended with the date and time in YYYY-MM-DD_hh_mm_ss_basename format.

Examples

Run this code
# NOT RUN {
library(nprcgenekeepr)
getDatedFilename("testName")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab