CS547 Human-Computer Interaction Seminar   (Seminar on People, Computers, and Design)

Fridays 11:30am-12:30pm PT · Gates B3 · Open to the public
Previous | Next
Hadley Wickham
Rice University
Expressing yourself in R
February 14, 2014

There are three main time sinks in any data science task:

1. Figuring out what you want to do.
2. Turning a vague goal into a precise set of tasks (i.e. programming).
3. Actually crunching the numbers.

A well-designed domain specific language (or DSL) tightly coupled to
the problem domain can make all three pieces faster. In this talk,
I'll discuss two DSLs built in R: ggvis for visualisation and dplyr
for data manipulation. These build on my previous packages ggplot2 and
plyr, improving both expressivity and speed.

It might seem a bit strange to talk about a programming language in an
HCI department, but I'm absolutely convinced that programming is the
right way to express data analysis questions: while (sometimes) easier
to use, a GUI is just too constraining. I'll attempt to convince you
the same, and raise some of the questions that I have about the
usability of programming languages.


Hadley Wickham is Chief Scientist at RStudio and Adjunct Professor of
Statistics at Rice University. He's interested in building tools
(computational and cognitive) that make data preparation,
manipulation, visualization and analysis easier. He's developed over
30 R packages, for data analysis (ggplot2, plyr, reshape), making
frustrating parts of R easier to use (lubridate for dates, stringr for
strings, httr for accessing web APIs), and for streamlining the R
package development process (roxygen2, testthat, devtools, lineprof,
staticdocs)