R Workshop II: Data to Interactive Reports
We deeply thank Professor Vaidyanathan for taking the trip from Montreal,Canada and join us in NYC. Special thanks to Chris and Paul from https://www.meetup.com/DataVisualization/ Data Visualization meetup group for their help to sponsor us such beautiful huge conference room with four screens.
NYC Data Science Academy is offering five relative courses:
Data to Interactive Reports by Using R
Ramnath Vaidyanathan is an Assistant Professor of Operations Management at McGill University. He holds a PhD in Operations Management from the Wharton School, and has worked at McKinsey and Company. He is addicted to R and has developed two R packages, Slidify and rCharts, both aimed at simplifying the creation and sharing of interactive web-based content with R.
In this talk, the speaker focused on how R can be used to span the data-analysis workflow, from fetching data and analyzing it, to communicating the results on the web with interactive visualizations and controls. In the first half of the talk, he took you through the basics of the workflow and discuss several examples. In the second half, he did a semi-live-coding demo where he took a data set, analyzed it, created an interactive report and deployed it to the web.
- Install Rstudio. You can download Rstudio from https://www.rstudio.com/ide/
After you install and open Rstudio, You could see a message.
"R does not appear to be installed. Please install R before using Rstudio. You can download R from the official R project website. Would you like to go there now?"
Choose Yes and install R. You would be fine from now on.
Copy/paste the following codes in the left bottom corner console:
# install packages from CRAN install.packages(c("knitr", "devtools", "markdown", "whisker", "yaml", "shiny")) # install packages from github require(devtools) install_github(c("slidify", "slidifyLibraries"), "ramnathv", ref = "dev") install_github("rCharts", "ramnathv")
- Get a free github account, it is the best way to get some source codes from others' shared work.