qq.options {GetoptLong} | R Documentation |
Global options for qq() related functions
Description
Global options for qq() related functions
Usage
qq.options(..., RESET = FALSE, READ.ONLY = NULL, LOCAL = FALSE, ADD = FALSE)
Arguments
... |
Options, see 'Details' section. |
RESET |
Whether to reset options to their default values. |
READ.ONLY |
Whether to only return read-only options. |
LOCAL |
Whether to switch local mode. |
ADD |
Whether to add new options. |
Details
Supported options are following:
cat_prefix
prefix of the string which is printed by
qqcat
cat_verbose
whether to print text by
qqcat
cat_strwrap
whether call
strwrap
to wrap the stringcode.pattern
code pattern for variable interpolation
Author(s)
Zuguang Gu <z.gu@dkfz.de>
Examples
a = 1
qq.options(cat_prefix = "[INFO] ")
qqcat("a = @{a}\n")
qq.options(cat_verbose = FALSE)
qqcat("a = @{a}\n")
qq.options(RESET = TRUE)
qq.options(code.pattern = "`CODE`")
qqcat("a = `a`\n")
qq.options(RESET = TRUE)
[Package GetoptLong version 1.0.5 Index]