| clearStore {shinyStorePlus} | R Documentation | 
Clear storage for an application
Description
Remove all stored inputs of an application
Usage
clearStore(appId, session = getDefaultReactiveDomain())
Arguments
| appId | the application identification | 
| session | session object | 
Value
No return value, called for side effects
Note
Ensure not to use this function when the inputs are intended to be tracked.
Examples
if (interactive()) {
  library(shiny)
  library(shinyStorePlus)
  ui <- fluidPage(
    # initialize stores
    initStore(),
    "Sample delete storage",
    selectInput("dataset",
      label = "Dataset",
      choices = c("dataset 1", "dataset 2")
    )
  )
  server <- function(input, output, session) {
    appid <- "application01"
    clearStore(appId = appid)
  }
  shinyApp(ui, server)
}
[Package shinyStorePlus version 1.1 Index]