~/talk

Model Migration: from Excel to R

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [legacy-modernisation, data-science]
slides:none on file

An attempted migration that copies Excel logic into a single R script consumes all memory and crashes the server after 10–15 million iterations of a simulation that produces 30 risk classes per run. The fix is to stop replicating spreadsheet design, define the model as A→B, encapsulate operations as functions, preallocate list slots for simulations, avoid needless copying inside loops, and postpone parallelism—start with small samples, profile, then scale.

AI-written summary · about

  1. 0:00Start
  2. 8:36Tip #1: Don't 'Copy' Excel
  3. 15:32Keep Things Simple
  4. 16:08Thank you for listening!
~/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.