Learn R Programming

shiny (version 0.10.1)

htmlOutput: Create an HTML output element

Description

Render a reactive output variable as HTML within an application page. The text will be included within an HTML div tag, and is presumed to contain HTML content which should not be escaped.

Usage

htmlOutput(outputId, inline = FALSE)

uiOutput(outputId, inline = FALSE)

Arguments

outputId
output variable to read the value from
inline
use an inline (span()) or block container (div()) for the output

Value

  • An HTML output element that can be included in a panel

Details

uiOutput is intended to be used with renderUI on the server side. It is currently just an alias for htmlOutput.

Examples

Run this code
htmlOutput("summary")

Run the code above in your browser using DataLab