Building Interactive, R-Powered Web Applications With Shiny: Jeff Allen, Dallas R Users Group
Building Interactive, R-Powered Web Applications With Shiny: Jeff Allen, Dallas R Users Group
Building Interactive, R-Powered Web Applications With Shiny: Jeff Allen, Dallas R Users Group
R-POWERED WEB
APPLICATIONS WITH SHINY
2/9/2013
About Me
Overview
Motivation
Shiny
Reactive Programming
Code Walkthroughs
Simple
histogram
Advanced histogram
Reactive histogram
Custom outputs
Hosting
Motivation
R is great!
The Internet is great!
Motivation
Shiny
new HTTP
Reactive Programming
a <- 3
b <- a + 2
a <- 7
b == ?
Imperative: b = 5
Reactive: b = 9
$dataset
$n_breaks
$bw_adjust
Key
Reactive
Function
$individual
_obs
$density
Input
$dataset
$n_breaks
$bw_adjust
Key
Reactive
Function
$individual
_obs
$density
Input
$n_breaks
$bw_adjust
getData
$dataset
dataName
$individual
_obs
$density
Key
Reactive
Function
Input
$n_breaks
$bw_adjust
getData
$dataset
dataName
$individual
_obs
$density
Key
Reactive
Function
Input
Hosting
RStudios Shiny-Server
Open
sourced 1/22/2013
Written in Node.js
Same software that powers Glimmer
Some assembly required
Hacks to support older IEs