Description Usage Arguments Value Examples
This function will either return all references to variables on a given line, or the state of all variables up to that point in execution.
1 | debug.from.line(..., state = F, script.num = 0)
|
... |
Line(s) to examine. Can be single lines or vectors/lines. |
state |
If FALSE, returns the refereneces to variables on inputed line(s). If TRUE, returns the state of all variables up to that point in execution. |
script.num |
If 0, only examine variables from the main script. If 1 or higher, examine variables from further nested source scripts. |
A list of one data frame per line, containing information about the variables on that line. If no parameters were passed, returns a data frame containing the state of all variables at the end of execution.
1 2 3 4 5 6 | ## Not run:
debug.from.line(4, state = F)
debug.from.line(4, 5:8, 10, state = T)
debug.from.line()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.