有没有办法撤销callModule?用例是我有一个可变数量的模块--这个数量响应用户的选择。假设用户选择了10,然后选择了不同的10 -有没有办法删除原来的10?它是自动发生的吗?创建reprex有点棘手,下面是我想说的一小段: input$people input$people %>% ~callModuleremove_existing_calls(people_info_server) # Not sure how to define this function
i
有没有可能在Shiny中使用一些R对象? 例如,在下面的代码中,我想获取用户输入的文本字符串。但是,.Last.value不是所需的文本字符串。参考 How to store the returned value from a Shiny module in reactiveValues?myreturn <- reactiveValues() observe({ myreturn$txt <- input$txt }) return(myreturn)
library(shiny)