Skip to content

Commit

Permalink
get input value correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gaospecial committed Dec 21, 2023
1 parent 11b90ae commit 1b6b581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/shiny/shinyApp.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ server = function(input, output, session){
output$plot = renderPlot({
x = vector("list", length = input$nsets)
for (i in 1:input$nsets){
x[[i]] = input[[paste0("set_", i)]]
x[[i]] = input[[paste0("set_", i)]] |> strsplit(split = ",") |> unlist()
}
(session$userData$plot = ggVennDiagram(x))
})
Expand Down

0 comments on commit 1b6b581

Please sign in to comment.