| .expandAlsoExtractPatterns | R Documentation |
alsoExtract against a known list of archive files.For each element of alsoExtract that is not a literal match in
filesInArchive (by relative path or basename), the element is treated as a
regular expression and grep()-ed against filesInArchive. Matched names
replace the pattern; unmatched patterns are kept as-is so that downstream
code can emit a useful "file not found" error. Special sentinel values
("similar", "none", NA) are passed through unchanged.
.expandAlsoExtractPatterns(alsoExtract, filesInArchive)
alsoExtract |
Character vector (or |
filesInArchive |
Character vector of files inside the archive, as
returned by |
This lets users write e.g.
alsoExtract = "CMD_sm|CMD_sp" to select all archive members whose name
contains CMD_sm or CMD_sp.
A character vector with pattern elements replaced by their matches.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.