outputOverwrites | R Documentation |
Modified versions of core R functions that add debugger specific functionality.
With the default debug configuration, the normal R functions are overwritten with these
(using attach()
).
The modified functions are designed to be mostly interchangeable with their counterparts.
If the overwrites are not required, they can be toggled using the launch config entries
overwriteCat
, overwritePrint
, overwriteStr
, and overwriteMessage
.
.vsc.cat(..., skipCalls = 0, showSource = TRUE)
.vsc.print(x, ..., skipCalls = 0, showSource = TRUE)
.vsc.message(
...,
domain = NULL,
appendLF = TRUE,
showSource = TRUE,
skipCalls = 0
)
.vsc.str(object, ..., skipCalls = 0, showSource = TRUE)
... |
Further arguments that are passed to the original function |
skipCalls |
The number of calls to skip when reporting the calling file and line. Can be useful e.g. inside a log function. |
showSource |
Whether to show the calling source file and line |
x |
Same as in |
domain |
Same as in |
appendLF |
Same as in |
object |
Same as in |
These functions return the same value as the overwritten functions themselves.
base::cat()
base::print()
base::message()
utils::str()
Other overwrites:
.vsc.debugSource()
,
.vsc.load_all()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.