Interactive Documents with R

Interactive Documents with R

Note: The slides for this tutorial are now available to download. Please visit

Dear UseR2014 Attendees,

I will be doing an afternoon tutorial at UseR2014 on June 30th 2014. It is scheduled to be held on the 4th floor of the Sproul Landing building, from 14:00 - 17:30.


The main goal of this tutorial is to provide a comprehensive overview of the workflow required to create, customize and share interactive web-friendly documents from R. We will cover a range of topics from how to create interactive visualizations and dashboards, to web pages and applications, straight from R. At the end of this tutorial, attendees will be able to apply these learnings to turn their own analyses and reports into interactive, web-friendly content.

If you are curious about what you will learn, here is a short screencast to tickle your interest.


Part 1: The first hour of the tutorial will introduce the concept of interactive documents and cover the basic tools required to author them. We will go over R Markdown, knitr, and slidify. At the end of this part, users will be able to create and share a simple web-based interactive document.

Part 2: The second hour of the tutorial will focus on different ways to add interactivity to the document. It would cover both client-side solutions using packages like rCharts and slidify and server-side solutions involving Shiny and OpenCPU.

Part 3: The last hour of the workshop will take attendees through more advance concepts to customize the documents they create and also author their own interactive widgets. We will also go over a short case study, that will help attendees understand the workflow that would simplify the process of creating, customizing and sharing dynamic, interactive documents.


Attendees are expected to have a basic working knowledge of R, including data structures and functions. Knowledge of markdown and knitr is recommended, but NOT required. To get the most out of this tutorial, I recommended that attendees bring their own laptops.

In addition, please complete the following steps prior to attending the workshop. This would ensure that we can hit the ground running, and don't waste precious time troubleshooting basic stuff.

  1. Install required packages
  2. Run through first steps
  3. Sign up on Hackpad

I will be updating this site with slides and material for the workshop. You can bookmark it here. Meanwhile, if you have any questions, please don't hesitate in asking them here.

I look forward to seeing you at the workshop!

Cheers, Ramnath