objViewer: Show the Content of an R Object in a Widget
Description
This function takes an R object and shows the content in a list box on
a widget.
Usage
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.
Value
This function does not return any value
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.
# Since user interference is required, the example code only runs# interactivelyif(interactive())
objViewer("Just to show that the content gets posted")