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)

Arguments

...

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 base::print()

domain

Same as in base::message()

appendLF

Same as in base::message()

object

Same as in utils::str()

Value

These functions return the same value as the overwritten functions themselves.