Learn R Programming

qtutils (version 0.1-3)

qstr: Graphical display of object structure

Description

qstr creates a widget displaying the structure of an arbitrary R object. The default method simply shows the output of print(x) in a text area. Table like objects are shown using qdataview.

The methods for lists and environments allow recursive examination of elements using a QSplitter. The method for environments allows a simple REPL to be started with the correspoding environment as its evaluation environment.

qbrowser leverages the list method to provide a simple object browser. qrecover similarly provides a graphical replacement for recover, and may be used as the "error" option for interactive debugging.

Usage

qstr(x, ...) "qstr"(x, ...) "qstr"(x, ...) "qstr"(x, ...) "qstr"(x, ...) "qstr"(x, ...) "qstr"(x, ...) "qstr"(x, ...)
qbrowser(namespaces = FALSE)
qrecover()

Arguments

x
An R object.
...
Further arguments. Passed on as appropriate.
namespaces
Logical flag indicating whether loaded but unattached namespaces should be included.

Value

A QWidget instance.