debug.view: debug.view

Description Usage Arguments Details Value Examples

View source: R/debugView.R

Description

debug.view displays the contents of a file or variable at a particular line of code in a separate view panel. This is best for large values like data frames and matrices.

Usage

1
debug.view(..., start.line = "all", script.num = "all")

Arguments

...

The variable names or file names to be queried.

start.line

The line number of the queried variables or files.

script.num

The script number of the queried variables or files.

Details

debug.view displays the contents of each file or variable queried. For snapshots or files with the file extension of .csv or .txt, the data will be loaded into the debugger environment before it is viewed. Otherwise, the data will be viewed using the system's default program for that type of file.

Value

debug.view returns a data frame containing the information that is displayed, which contains the following columns:

If there is no data to display, NULL is returned.

Examples

1
2
3
4
5
6
7
## Not run: 
prov.debug.run("test.R")
debug.view()
debug.view(x)
debug.view("x", y, start.line = 5, script.num = 2)

## End(Not run)

ProvTools/provDebugR documentation built on April 29, 2021, 7:22 p.m.