| qq.options {GetoptLong} | R Documentation |
Global options for qq() related functions
qq.options(..., RESET = FALSE, READ.ONLY = NULL, LOCAL = FALSE, ADD = FALSE)
... |
options, see 'details' section |
RESET |
Whether to reset options to their default values |
READ.ONLY |
only return read-only options? |
LOCAL |
switch local mode |
ADD |
add new options |
Supported options are following:
cat_prefixprefix of the string which is printed by qqcat
cat_verbosewhether to print text by qqcat
cat_strwrapwhether call strwrap to wrap the string
code.patterncode pattern for variable interpolation
Zuguang Gu <z.gu@dkfz.de>
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)