add_file_timestamp | R Documentation |
Adds a timestamp to a file
add_file_timestamp(
x,
ts = Sys.time(),
format = "%Y-%m-%d %H%M%S",
sep = " "
)
x |
A vector of files |
ts |
A single timestamp or vector of timestamps (default: |
format |
A format to be applied to the times; set to |
sep |
A |
The full name paths with the appended time stamp
file1 <- tempfile(fileext = ".txt")
file2 <- tempfile()
add_file_timestamp(file1)
add_file_timestamp(file2)
file.remove(file1, file2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.