timeStamp: Embeds the present datetime into a file name

Description Usage Arguments Value Author(s) Examples

View source: R/timeStamp.R

Description

Embeds the present datetime into a file name

Usage

1
timeStamp(description, extension)

Arguments

description

Character vector giving the base name(s) of the file(s)

extension

Character vector giving the extension(s) of the file(s) (excluding the period)

Value

Character string of the form description_YYYY-MM-DD_HHMMSS.extension

Author(s)

Landon Sego

Examples

1
timeStamp("aFilename", "txt")

Smisc documentation built on May 19, 2017, 11:54 p.m.

Search within the Smisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.