\HeaderA{View}{Invoke a Data Viewer}{View}
\keyword{utilities}{View}
\begin{Description}\relax
Invoke a spreadsheet-style data viewer on a matrix-like \R{} object.
\end{Description}
\begin{Usage}
\begin{verbatim}
View(x, title)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] an \R{} object which can be coerced to a data frame with
non-zero numbers of rows and columns.
\item[\code{title}] title for viewer window.  Defaults to name of \code{x}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Object \code{x} is coerced (if possible) to a data frame, and all
non-numeric columns are then coerced to character.   The object is
then viewed in a spreadsheet-like data viewer, a read-only version of
\code{\LinkA{data.entry}{data.entry}}.

If there are row names on the data frame that are not \code{1:nrow},
they are displayed in a separate first column called \code{row.names}.

Objects with zero columns or zero rows are not accepted.

The array of cells can be navigated by the cursor keys and Home, End,
Page Up and Page Down (where supported by X11) as well as Enter
and Tab.
\end{Details}
\begin{Value}
Invisible \code{NULL}.  The functions puts up a window and returns
immediately: the window can be closed via its controls or menus.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{edit.data.frame}{edit.data.frame}},
\code{\LinkA{data.entry}{data.entry}}.
\end{SeeAlso}

