objViewer: Show the Content of an R Object in a Widget

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/objViewer.R

Description

This function takes an R object and shows the content in a list box on a widget.

Usage

1
objViewer(toView, width = 40, height = 10)

Arguments

toView

R object whose content is to be viewed

width, height

positive values specifying the width and height of the widget.

Details

The function makes no check of the R object passed and will show whatever the object will be shown when the name is type at an R prompt. Formatting is required before passing the R object to the function.

Value

This function does not return any value

Author(s)

Jianhua Zhang

See Also

listSelect

Examples

1
2
3
4
# Since user interference is required, the example code only runs
# interactively
if(interactive())
   objViewer("Just to show that the content gets posted")

tkWidgets documentation built on Nov. 8, 2020, 5:17 p.m.