Create a verbatim text output element

verbatimTextOutput(outputId)

Arguments

outputId output variable to read the value from

Create a verbatim text output element

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 pre tag.

Details

Text is HTML-escaped prior to rendering. This element is often used with the renderPrint function to preserve fixed-width formatting of printed objects.

Examples

mainPanel( h4("Summary"), verbatimTextOutput("summary"), h4("Observations"), tableOutput("view") )
<div class="span8"> <h4>Summary</h4> <pre id="summary" class="shiny-text-output"></pre> <h4>Observations</h4> <div id="view" class="shiny-html-output"></div> </div>