~/talk

duckplyr: Analyze large data with full dplyr compatibility

Talkat posit::conf(2025) · 2025-09-16..09-18· [data-engineering]
links:none on file
slides:none on file

duckplyr 1.0.0 on CRAN lets existing dplyr pipelines run against DuckDB-backed Parquet and remote HuggingFace datasets with no SQL translation and automatic ALTREP lazy vectors so you usually don’t need to call collect. Examples show one million rows grouped into 40k groups finishing in 5 seconds, and a targeted change cuts a 30s pipeline to 10s. It enforces prudence protection against pulling huge datasets, supports as_duckdb_tibble for explicit control, and exposes DuckDB funcs via dd:: and extensions like stochastic.

AI-written summary · about

  1. 0:00duckplyr introduction
  2. 1:10Why use DuckDB and R
  3. 2:36duckplyr vs dbplyr
  4. 3:40Access DuckDB in R
  5. 5:11Demo: HuggingFace remote data
  6. 6:56Large data in ggplot
  7. 8:02Local vs remote speed
  8. 8:46Optimize slow dplyr pipelines
  9. 9:30Faster dplyr code strategies
  10. 10:14Best effort mode limits
  11. 11:02Optimize with as_duckdb_tibble
  12. 12:27Check results consistency
  13. 13:10DuckDB functions with dd::
  14. 13:33Load missing function extensions
  15. 14:38Nested data in duckplyr
  16. 15:20Q&A
~/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.