mkCallProxy | R Documentation |
This creates a wrapper/proxy R function to call an LLVM routine. This creates an LLVM routine that accepts R objects and marshalls these as arguments to the native routine.
mkCallProxy(fun, name = paste0("R_", getName(fun)), mod = as(fun, "Module"))
fun |
the LLVM |
name |
the name of the |
mod |
An R function
Duncan Temple Lang
simpleFunction
Function-class
.llvm
f = system.file("IR/fib.ir", package = "Rllvm")
m = parseIR(f)
rf = mkCallProxy(m$fib)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.