file_set | R Documentation |
File names have a numbered core that communicates the current file number
as well as the total number of files in the set. For example, 02-20
would
indicate the second file in a set of 20. Other customizations can be added.
file_set(n, where = NULL, prefix = NULL, pad = TRUE, sep = "-", ext = "")
n |
The number of file names to create. |
where |
An optional output file path. |
prefix |
A character prefix for the file name. |
pad |
If |
sep |
Separator character. |
ext |
A file extension, including the dot. |
By default a list length n
of lists length 2; each sublist contains the
integer file number as i
and the file name as file
.
setup_locker()
x <- file_set(3, where = "foo/bar")
length(x)
x[2]
x <- file_set(25, ext = ".feather")
x[17]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.