- `tryCatch(expr
error = function(e) e)` returns the error condition object.
Explore
108,140 skills indexed with the new KISS metadata standard.
error = function(e) e)` returns the error condition object.
length)` but faster (implemented in C).
not where the error occurred. Cannot resume execution.
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
...)` is a simple wrapper for `mapply(f
x)` keeps elements where `f(elem)` is `TRUE`. Unlike `x[sapply(x
x
x
x)` applies binary function `f` cumulatively: `Reduce(+
args_list)` — `args` must be a **list**
gotchas
expr)` avoids repeating `df$` everywhere
`warning()`
time zones cause off-by-one
need Reduce/Filter/Map
`*` vs `:`
surprising defaults
read the reference files in `references/`:
med
breaks = c(0
df2) # bind columns (same rows)
]
]