Description Usage Arguments Value
View source: R/function_utils.r
Creates a R closure (i.e. a function object) from a body expression and an argument list. The closure's environment will be the default environment.
1 | makeClosure(fbody, fargs, envir = globalenv())
|
fbody |
The function body, given as a R expression. |
fargs |
The formal arguments, given as a list or vector of strings. |
envir |
The new function closure's environment, defaults to |
A formal argument list, ready to be passed via formals
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.