library(RLLVMCompile)
f = function(x) {
x[2]
}
# This will seg fault since not subsettable. Catch. Fixed now.
# compileFunction(f, Int32Type, list(Int32Type))
compileFunction(f, Int32Type, list(pointerType(Int32Type)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.