Description Usage Arguments Value See Also Examples
Allows the user to input pieces of directory names to quickly generate multiple sub-directories with similar names nested in the same directory.
1 |
path |
A character vector specifying the root directory path. |
sep |
A character string to separate the terms. |
pad.num |
logical. If |
text.only |
logical. If |
... |
The pieces of the names to put together. |
Generates recursive sub directories. Invisibly returns the names of the sub-directories.
1 2 3 4 5 6 7 8 9 | ## fx <- folder(delete_me)
## owd <- getwd(); setwd(fx)
## rdirs(admin, 1:15, c("d", "f", "w"), c(1, 4, 6))
rdirs(admin, 1:15, c("d", "f", "w"), c(1, 4, 6), text.only = TRUE)
## rdirs(session, 1:12, seq(as.Date("2000/1/1"), by = "month", length.out = 12))
x <- rdirs(admin, 1:15, c("d", "f", "w"), c(1, 4, 6), text.only = TRUE)
## lapply(x, new_report)
## setwd(owd); delete(fx)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.