Description Usage Arguments Details Author(s) Examples
Global options for qq() related functions
1 |
... |
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. |
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 string
code.pattern
code pattern for variable interpolation
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 6 7 8 9 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.