Files
shiny/man/verbatimTextOutput.Rd
2012-07-29 07:39:44 -07:00

34 lines
749 B
R

\name{verbatimTextOutput}
\alias{verbatimTextOutput}
\title{Create a verbatim text output element}
\usage{
verbatimTextOutput(outputId)
}
\arguments{
\item{outputId}{output variable to read the value from}
}
\value{
A verbatim text output element that can be included in a
panel
}
\description{
Render a reactive output variable as verbatim text within
an application page. The text will be included within an
HTML \code{pre} tag.
}
\details{
Text is HTML-escaped prior to rendering. This element is
often used with the \link{reactivePrint} function to
preserve fixed-width formatting of printed objects.
}
\examples{
mainPanel(
h4("Summary"),
verbatimTextOutput("summary"),
h4("Observations"),
tableOutput("view")
)
}