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
The number of calls to skip when reporting the calling file and line. Can be useful e.g. inside a log function.
Whether to show the calling source file and line
Same as in base::print()
Same as in base::message()
Same as in base::message()
Same as in utils::str()
These functions return the same value as the overwritten functions themselves.
Other overwrites:
.vsc.debugSource()
,
.vsc.load_all()