| getoperand | R Documentation |
Extracts the positional arguments stored in the "operands" attribute of the
object returned by getopt().
getoperand(x)
x |
An object of class |
A character vector of positional arguments.
spec <- matrix(c("verbose", "v", 0, "logical"), ncol = 4, byrow = TRUE)
opt <- getopt(spec, c("--verbose", "--", "file1.txt", "file2.txt"))
getoperand(opt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.