\HeaderA{page}{Invoke a Pager on an R Object}{page}
\keyword{utilities}{page}
\begin{Description}\relax
Displays a representation of the object named by \code{x} in a pager
\emph{via} \code{\LinkA{file.show}{file.show}}.
\end{Description}
\begin{Usage}
\begin{verbatim}
page(x, method = c("dput", "print"), ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] An \R{} object, or a character string naming an object.
\item[\code{method}] The default method is to dump the object \emph{via}
\code{\LinkA{dput}{dput}}.  An alternative is to use \code{print} and
capture the output to be shown in the pager.
\item[\code{...}] additional arguments for \code{\LinkA{dput}{dput}},
\code{\LinkA{print}{print}} or \code{\LinkA{file.show}{file.show}} (such as \code{title}).
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
If \code{x} is a length-one character vector, it is used as the name
of an object to look up in the environment from which \code{page} is
called.   All other objects are displayed directly.

A default value of \code{title} is passed to \code{file.show} if one
is not supplied in \code{...}.
\end{Details}
\begin{SeeAlso}\relax
\code{\LinkA{file.show}{file.show}}, \code{\LinkA{edit}{edit}}, \code{\LinkA{fix}{fix}}.

To go to a new page when graphing, see \code{\LinkA{frame}{frame}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}## 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)\end{ExampleCode}
\end{Examples}

