阅读背景:

使粗体文本在HTML输出R闪亮

来源:互联网 

Reproducible example:

可再生的例子:

require(shiny)
runApp(list(ui = pageWithSidebar(
headerPanel("Example"),
  sidebarPanel(
    sliderInput("index", 
                label = "Select a number",
                min = 1,
                max = 4,
                step = 1,
                value = 2)),
  mainPanel(
  htmlOutput("text")
  )),
server = function(input, output) {
  output$text <- renderUI({
    HTML(paste(c("banana","raccoon","duck","grapefruit")))
  })
}
))
require(shiny



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: