~/talk

Developing internal tools for multi-lingual teams

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

Bumble builds matching internal R and Python packages that share foundations: implement R generics and Python functools.singledispatch for identical APIs; create named errors with rlang::abort and mirror Python exception classes so both sides can catch specific failures and chain causes (raise … from / abort(..., parent=cond)); wrap cross-language code with reticulate (import, source_python, onLoad delay) and rpy2 (STAP, object conversion), noting environment, conversion and error-message gotchas.

AI-written summary · about

  1. 0:00Start
  2. 2:13What strategies can we use to make developing tools simultaneously with Python and R easier?
  3. 2:33Building identical generic functions
  4. 2:48summary()
  5. 5:42Identical error handling with classes
  6. 8:49What about error chaining?
  7. 9:59Creating your own internal wrappers
  8. 11:04Importing Python modules into R
  9. 12:57Importing R libraries into Python
  10. 13:48Accessing functions from the R environment
  11. 14:33Defining a temporary package structure
  12. 15:17Two environments
~/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.