~/talk

Polyglot Data Science: Why and How to Combine R and Python

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

Combining R and Python solves concrete problems like using an algorithm only available in an R package or embedding R analysis in a Python ETL pipeline; practical options shown include rpy2 and reticulate for tight integration, Arrow for zero‑copy sharing, Quarto and Positron for workflows, Unix pipes or a save‑and‑load pattern for loose coupling. Cautionary numbers: one pipeline consumed 700 GB RAM and took two days twice a year until a full Polars rewrite to Python reduced cost and made it production‑feasible.

AI-written summary · about

  1. 0:00Introduction
  2. 0:24Why combine R and Python
  3. 1:52Mindset for polyglot data science
  4. 2:56R and Python as tools
  5. 3:39rpy2 for visualization
  6. 5:05Annoy for saving and loading
  7. 7:15UNIX pipes foundation
  8. 8:40Performance issues caution
  9. 10:35Polars for efficiency
  10. 11:59reticulate and Arrow in R
  11. 12:45When to embrace polyglot
  12. 13:49Q&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.