Description Usage Arguments Value Examples
See documentation of cmd_file_expect() for more details about how this works
1 | cmd_file_combn(prefix, ext, outdir = ".")
|
prefix |
file name to be given each ext. If a character vector, must be equal length of ext or shorter |
ext |
file extension (no ".", ie "txt", "html") |
outdir |
optional directory where files should exist |
list of file paths by each ext or prefix (whichever is longer)
1 2 3 4 5 6 7 | # Makes list for many file types of same prefix
# ie myFile.txt, myFile.html, myFile.xml
cmd_file_combn("myFile", c("txt", "html", "xml"))
# Makes list for many files of same type
# ie myFile1.txt, myFile2.txt, myFile3.txt
cmd_file_combn(c("myFile1", "myFile2", "myFile3"), "txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.