Invoke a Pager on an R Object
Displays a representation of the object named by
x in a pager via
page(x, method = c("dput", "print"), ...)
- An R object, or a character string naming an object.
- The default method is to dump the object via
dput. An alternative is to use
print and capture the output to be shown in the pager.
- additional arguments for
file.show (such as
x is a length-one character vector, it is used as the name of an object to look up in the environment from which
page is called. All other objects are displayed directly.
A default value of
title is passed to
file.show if one is not supplied in
## Not run:## four ways to look at the code of 'page'
page(page) # as an object
page("page") # a character string
v <- "page"; page(v) # a length-one character vector
page(utils::page) # a call
## End(Not run)
Documentation reproduced from R 3.0.2. License: GPL-2.