Construindo Aplicações Web com Shiny em R
Ramnath Vaidyanathan
VP of Product Research


ui <- fluidPage(
textInput('name', 'Enter your name')
)
server <- function(input, output, session){
observe({
showNotification(
paste("You entered the name", input$name)
)
})
}
Papel
reactive() calcula valores, sem efeitos colaterais.observe() executa ações, com efeitos colaterais.Diferenças
Construindo Aplicações Web com Shiny em R