Skip to content
Snippets Groups Projects
Commit 9580597e authored by Eduardo E. R. Junior's avatar Eduardo E. R. Junior
Browse files

Adiciona botão para parar execução do R no console

parent fa0a495f
No related branches found
No related tags found
No related merge requests found
...@@ -69,5 +69,11 @@ shinyServer( ...@@ -69,5 +69,11 @@ shinyServer(
) )
} }
}) })
observe({
if(input$EXIT > 0) {
stopApp()
}
})
} }
) )
...@@ -9,7 +9,7 @@ shinyUI( ...@@ -9,7 +9,7 @@ shinyUI(
fluidRow( fluidRow(
column( column(
width = 4, offset = 2, width = 4, ## offset = 2,
selectInput(inputId = "DATASET", selectInput(inputId = "DATASET",
label = "Dados disponíveis", label = "Dados disponíveis",
choices = c("Escolha um dataset" = "", L)) choices = c("Escolha um dataset" = "", L))
...@@ -20,6 +20,15 @@ shinyUI( ...@@ -20,6 +20,15 @@ shinyUI(
'os dados:</label><br>', sep = "")), 'os dados:</label><br>', sep = "")),
downloadButton(outputId = "DOWNLOADDATA", downloadButton(outputId = "DOWNLOADDATA",
label = "Download tsv") label = "Download tsv")
),
column(
width = 2, offset = 2,
HTML(paste('<label class="control-label">Execução R:',
'</label><br>', sep = "")),
actionButton(inputId = "EXIT",
label = "Stop",
class = "btn btn-danger")
) )
), ),
...@@ -28,6 +37,3 @@ shinyUI( ...@@ -28,6 +37,3 @@ shinyUI(
) )
) )
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment