【发布时间】:2022-01-10 16:46:56
【问题描述】:
我想根据用户输入显示不同的 html 文件。基本上,用户在两个 pickerinput 元素中进行选择,并根据选择显示不同的 html 文件。
我的 ui 中有。 R
fluidRow( style = "background-color:#FFFAFA00;",
htmlOutput("example")
))),
在我的服务器中。 R
示例
if (input$chap == "ai" & input$cat == "ch") {
htmlOutput("aich")
}
else if (input$chap == "ai" & input$cat == "pr") {
htmlOutput("aipr")
}
})
选择时没有任何反应。关于此的任何想法
【问题讨论】:
标签: html r shiny server-side-rendering reactive