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
1 merge request!105Eduardo158: Correções e melhorias na interface shiny
Pipeline #
......@@ -69,5 +69,11 @@ shinyServer(
)
}
})
observe({
if(input$EXIT > 0) {
stopApp()
}
})
}
)
......@@ -9,7 +9,7 @@ shinyUI(
fluidRow(
column(
width = 4, offset = 2,
width = 4, ## offset = 2,
selectInput(inputId = "DATASET",
label = "Dados disponíveis",
choices = c("Escolha um dataset" = "", L))
......@@ -20,6 +20,15 @@ shinyUI(
'os dados:</label><br>', sep = "")),
downloadButton(outputId = "DOWNLOADDATA",
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(
)
)
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment