Abstract: In this talk, I will introduce the lobstr package which provides tools to visualise R's data structures on the command line. I'll show three R functions ast(), cst(), and ref() and use them to discuss three important components of R's theory:
- All R code possesses a tree like structure, known as the abstract syntax tree.
- R's lazy evaluation introduces a tree-like structure into the call stack
- R's copy on modify semantics
Together, these three topics make R special compared to other programming languages, and have surprisingly practical implications.
This event is being presented by the Department of Statistics, and co-sponsored by BIDS.
Speaker(s)

Hadley Wickham
University of Auckland
Hadley Wickham is Chief Scientist at RStudio, a member of the R Foundation, and Adjunct Professor at Stanford University and the University of Auckland. He builds tools (both computational and cognitive) to make data science easier, faster, and more fun. His work includes packages for data science (the tidyverse: including ggplot2, dplyr, tidyr, purrr, and readr) and principled software development (roxygen2, testthat, devtools). He is also a writer, educator, and speaker promoting the use of R for data science. Learn more on his website, http://hadley.nz.