~/talk

Lazy evaluation

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [developer-experience]
slides:none on file

Explains that tidy eval is a metaprogramming toolkit implemented in rlang that preserves unquoted variable names by manipulating evaluation and data masks, and that it powers dplyr, ggplot2 and other tidyverse APIs. Shows a fixed lm/gapminder example that fails with plain NSE then works after capturing symbols with nquo + !! and using := for programmatic names, demonstrates when passing dots suffices and when you must use rlang, and confirms these patterns let grouped summarize and programmatic ggplot calls work reliably.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30What is tiny evaluation
  3. 1:12Things to learn first
  4. 3:08What is tidyeval
  5. 5:20Meta programming
  6. 6:03Nonstandard evaluation
  7. 7:03The bargain
  8. 8:32The problem
  9. 9:50LM example
  10. 12:30Tidy verse history
  11. 12:54Unquoted variable names
  12. 13:42The good news
  13. 14:13OurLang
  14. 14:38Scenarios
  15. 15:06Duplication
  16. 16:19Simple functions
  17. 17:01Example
  18. 18:16Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.