| debug.eval {debug} | R Documentation |
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).
debug.eval(expr, envir = parent.frame(), enclos = if (is.list(envir) || is.pairlist(envir)) parent.frame() else baseenv())
expr, envir, enclos |
see |
fixr, help for the debug package