- `modifyList(x
val)` replaces elements of list `x` with those in `val` by **name**.
Explore
113,842 skills indexed with the new KISS metadata standard.
val)` replaces elements of list `x` with those in `val` by **name**.
3
names
m)` or `combn(x
y))` in conditionals.
class = myError))` then catch with `tryCatch(...
i.e.
error = function(e) e)` returns the error condition object.
not where the error occurred. Cannot resume execution.
warning = function(w) {...})` catches the **first** warning and exits. Use `withCallingHandlers` + `invokeRestart(muffleWarning)` to suppress warnings but continue.
length)` but faster (implemented in C).
x)` returns the **first** element where `f(elem)` is `TRUE`. `Find(f
x)` returns the **index** of the first match (like `Find` but returns position
...)` is a simple wrapper for `mapply(f
x
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()`
need Reduce/Filter/Map