Creates an output element that can be embedded inline within text.
Examples
library(shiny)
ui <- fluidPage(
p("The result is", inlineOutput("result"))
)
server <- function(input, output) {
output$result <- renderInline({
# Will be formatted to one decimal place
42.123
})
}
if (interactive()) {
shinyApp(ui, server)
}