- `tryCatch` **unwinds** the call stack — handler runs in the calling environment
not where the error occurred. Cannot resume execution.
Explore
115,682 skills indexed with the new KISS metadata standard.
not where the error occurred. Cannot resume execution.
...)` is a simple wrapper for `mapply(f
x)` returns the **index** of the first match (like `Find` but returns position
x)` returns the **first** element where `f(elem)` is `TRUE`. `Find(f
x
x)` keeps elements where `f(elem)` is `TRUE`. Unlike `x[sapply(x
list_of_dfs)` to combine a list of data frames.
x)` applies binary function `f` cumulatively: `Reduce(+
x
args_list)` — `args` must be a **list**
gotchas
expr)` avoids repeating `df$` everywhere
need Reduce/Filter/Map
`warning()`
time zones cause off-by-one
regex behaves differently than expected
layout/mfrow interaction is confusing
need to choose correct p.adjust method
`*` vs `:`
apply on data frame gives unexpected coercion
surprising defaults
read the reference files in `references/`:
med
breaks = c(0