我希望能够在我闪亮的应用程序中显示一个动态向量作为文本输出。我还想利用HTML (粗体、字体颜色等),所以我使用htmlOutput和renderUI,而不是textOutput和renderText。
下面是一些示例代码:
library(shiny)
shinyApp(
ui <- htmlOutput("example"),
server <- function(input, output, session){
# vector (in the real app, this is not a static vector--it wil