Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

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

Examples

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

tkWidgets

R based tk widgets

v1.68.0
Artistic-2.0
Authors
J. Zhang <jzhang@jimmy.harvard.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.