Creare applicazioni web con Shiny in 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)
)
})
}
Ruolo
reactive() serve a calcolare valori, senza effetti collaterali.observe() serve a eseguire azioni, con effetti collaterali.Differenze
Creare applicazioni web con Shiny in R