ficonsulting / ficonsulting/RInno

action button + observeEvent(....,{stopapp()}) doesn't work with Rinno ?

Abierto
#159 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
HTML
Estrellas
313
Forks
66
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hello,

I have a problem with the stopapp() function when I use it with an actionbutton() + observeEvent().

My goal: quit the application by clicking on a "stop application" button.

`observeEvent(input$stop,{`
print("7/7......fermeture de l'application")
stopApp()
})`

The problem is that it doesn't quit the application when I use it.
I thought this was fixed with the following code at the end of my script :

`if (!interactive()) {
session$onSessionEnded(function() {
print("Closing the app")
stopApp()
q("no")
})
}`

... but it seems not.

Any ideas?

Thanks,

Alexis

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.