Compile an R Function to Bytecode
cmpfun.RdCompiles an R closure to bytecode using the C-based compiler backend.
Arguments
- f
A closure to compile to bytecode. If
fis a builtin or special function,cmpfunreturns it without a change.- options
A named list of compilation options. If
optionsisNULL,cmpfunuses the default options. As incompiler::cmpfun,optionscan also be a different object with names, for example a named vector.