Execute a function call similar to do.call.
do.call2(fun, ..., .args = list())
fun |
[ |
... |
[any] |
.args |
[ |
Return value of fun.
## Not run:
library(microbenchmark)
x = 1:1e7
microbenchmark(do.call(head, list(x, n = 1)), do.call2("head", x, n = 1))
## End(Not run)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.