Rで作るShiny Webアプリケーション
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)
)
})
}
役割
reactive() は副作用なしで値を計算します。observe() は副作用を伴う処理を実行します。違い
Rで作るShiny Webアプリケーション