Try expression evaluation, recovering from bperror signals
This function is meant to be used as a wrapper around
bplapply()
and friends, returning the evaluated expression
rather than signalling an error.
bptry(expr, ..., bplist_error, bperror)
expr |
An R expression; see |
bplist_error |
A ‘handler’ function of a single argument, used to catch
Setting Setting |
bperror |
A ‘handler’ function of a single argument, use to catch
|
... |
Additional named handlers passed to |
The partially evaluated list of results.
Martin Morgan martin.morgan@roswellpark.org
param = registered()[[1]] param X = list(1, "2", 3) bptry(bplapply(X, sqrt)) # bplist_error handler bptry(bplapply(X, sqrt), bplist_error=identity) # bperror handler
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.