假设我有以下闪亮的应用程序。我试图让var1:3得到很好的空间,但它忽略了我的输入。我试过sep =" ",和sep =" \ t"。
为什么这不起作用?
library(shiny)
ui <- fluidPage(
htmlOutput("test")
)
server <- function(input,output) {
output$test <- renderText({
var1<- "one"
var2 <- "two"
var3 <- "three"
output<- paste(var1,var2,var3,sep = " ")})}
shinyApp (ui = ui, server = server)
Desired output:
one two three