Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Shiny - January 2015 LA R Users Group

Joe Cheng
January 21, 2015

Shiny - January 2015 LA R Users Group

Joe Cheng

January 21, 2015
Tweet

More Decks by Joe Cheng

Other Decks in Programming

Transcript

  1. Shiny LA R Users Group January 20, 2015 Joe Cheng

    <[email protected]> https://speakerdeck.com/jcheng5/shiny-january-2015-la-r-users-group
  2. About me • Software engineer at RStudio, Inc. • Shiny

    creator and now co-maintainer (along with Winston Chang and Yihui Xie) • Building websites since 1995 • Almost no stats background
  3. Motivation R is a powerful platform for data analysis •

    State of the art statistical power • Excellent for visualization • Large and enthusiastic community
  4. Motivation But… • A personal experience, not a shared one

    • Output is usually in static formats • Modern visualization is interactive, browser- based
  5. What is Shiny? • Interactive web applications around your R

    analyses • Zero HTML/CSS/JavaScript knowledge is required… • …but fully customizable and extensible with HTML/CSS/JavaScript
  6. What is Shiny? • Modern web UI with attractive defaults,

    but also infinitely customizable • Designed to integrate with existing JavaScript libraries • Uses a reactive programming model which allows dramatically simpler code than traditional UI or web programming
  7. Can R do ____? • "It's possible, but never been

    done before." • "Try this snippet I found on GitHub / r-bloggers / Stack Overflow / Google groups / r-help." • "Use one of these six CRAN packages (two of which are by Hadley)."
  8. Can Shiny do ____? • Jungle: "It's possible, if you

    know JavaScript." • Road: "Try this snippet from GitHub / r-bloggers / Stack Overflow / google groups / r-help." • Interstate: "Use this package." / "That's a built-in feature of Shiny."
  9. Recent work • Encourage community development of high- quality R

    packages for JavaScript libraries and D3 visualizations (htmlwidgets) • Build our own widget packages for high-impact JavaScript libraries (leaflet, dygraphs, DT) • Lower the expertise bar for making great looking apps (shinythemes, shinydashboard)
  10. Next steps • Get inspired. http://shiny.rstudio.com/gallery • Get started. http://shiny.rstudio.com/tutorial

    • Go deeper. http://shiny.rstudio.com/articles • Need help? Google "shiny-discuss"