powered by
Wrap the source for an exprssion as a function.
srcfn(expr_src, arg_name = ".", args = list())
character, source code of expresson.
characer, name of argument to assign.
named list of adittional arguments and values.
SrcFunction
fnlist, pkgfn, wrapfn
fnlist
pkgfn
wrapfn
# NOT RUN { f <- srcfn(". + z", ".", args = list(z = 10)) cat(format(f)) 1:3 %.>% f # }
Run the code above in your browser using DataLab