Here's an example:
library(shiny)
library(sever)
ui <- fluidPage(
use_sever(),
tableOutput("table"),
plotOutput("plot"),
uiOutput("thing")
)
server <- function(input, output){
cleave("hey", ids = "table")
output$table <- renderTable({
error
})
output$thing <- renderUI({
p(error)
})
output$plot <- renderPlot({
plot(error)
})
}
shinyApp(ui, server)
What if I want to display the same message for the table and the plot but not for the uiOutput? I tried to use c() and list() in the argument ids of cleave() but no success.
Is there a way to put a list of ids in cleave()?
Here's an example:
What if I want to display the same message for the table and the plot but not for the
uiOutput? I tried to usec()andlist()in the argumentidsofcleave()but no success.Is there a way to put a list of ids in
cleave()?