Description Usage Arguments Examples
Resolve duplicate names by appending successive integers
1 | resolve_dup(x, candidates, ignore.extension = FALSE)
|
x |
character string; name to be resolved |
candidates |
character vector; possible duplicate names |
ignore.extension |
logical; append to the end of |
1 2 3 4 5 6 7 8 9 | x <- c("my.var", "aaa.png", "aaa.jpg", "aaa_1.png", "doc-folder")
resolve_dup("aaa.jpg", x)
resolve_dup("aaa.png", x)
resolve_dup("aaa_1.png", x)
resolve_dup("doc-folder", x)
resolve_dup("New Document", x)
resolve_dup("my.var", x, ignore.ext=TRUE)
x <- c(x, resolve_dup("aaa.png", x))
resolve_dup("aaa.png", x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.