namer | R Documentation |
A file path is created in the form <dir>/<prequel><arg><ext>.
namer(
dir = NULL,
prequel = NULL,
arg = NULL,
sep = getOption("sep"),
ext = NULL
)
dir |
A directory to which the path should point to. |
prequel |
Prequel that is appended to the file name (e.g. '~/project'). |
arg |
A named list or vector of arguments that are used for creating
the file name. Once created, they can be extracted with |
sep |
String that separates names and entries of the arg (Default: <_>). |
ext |
Should a file extension be added at the end of the string? (e.g. .png)? |
Andreas Scharmueller, andschar@proton.me
namer(dir = tempdir(),
prequel = 'test-prequel',
arg = list(weight = 12,
color = 'white'),
sep = '_',
ext = '.png')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.