debug.eval: Evaluate expression in debugging window

Description Usage Arguments See Also

Description

Like eval but summons up a debug window, as when debugging a function call. Use it e.g. for debugging your own scriptlets stored as expressions (see also fixr in mvbutils). There are analogous functions debug.evalq, debug.with, debug.within, and debug.try, but currently (and for no particular reason) these are not exported, so you'd need e.g. debug:::debug.with( dataset, commands).

Usage

1
debug.eval(expr, envir = parent.frame(), enclos = if (is.list(envir) ||  is.pairlist(envir)) parent.frame() else baseenv())

Arguments

expr, envir, enclos

see eval

See Also

fixr, help for the debug package


debug documentation built on May 30, 2017, 2:23 a.m.

Related to debug.eval in debug...