browser() with Shiny is causing R session to Abort

Hi all,

Since I've upgraded, when i put browser() into a shiny app, I get the message "R encountered a fatal error. The session was terminated." Here is an example:

library(shiny)
ui <- fluidPage(
actionButton('act1', "press me")
)
server <- function(session, input, output) {
observeEvent(input$act1, {
browser()
message("Do something")
})
}
shinyApp(ui, server)

My session gets killed at the browser() before it gets to the 'message("Do something"). Anyone know whats causing this and how to fix it?

Many thanks,
Brandon

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.