reactive

Published by onesixx on

Source-Conductor-Endpoint

Shiny의 Reactivity는 R의 기본적인 pull 메카니즘을
마치 input(source)이 output(endpoint)으로 push메카니즘 처럼
서로 연관된 것같은 환상을 만든다.

http://shiny.rstudio.com/articles/reactivity-overview.html
Reactive roles
Source Input (change)Conductorendpoint Output (re-execute)
Input through a browser
– click on a button
– select an item
– type text
Output appear in user’s browser
– plot
– table of value
– text on a box
input$valoutput$plot
valuesexpressions (reactive)observers
caching return valueno return (flushing, side effects )

input : output = n: m 관계

R
ui
R
server
R
server (conductor)

isolate

R
ui
R
server – endpoint/output

R
server – endpoint/observer
Categories: Shiny

onesixx

Blog Owner

Leave a Reply

Your email address will not be published.