library(RLLVMCompile)
f =
function(x)
{
if(x < 10 && x > 5)
20L
else
-1L
}
fc = compileFunction(f, Int32Type, list(DoubleType))
stopifnot(.llvm(fc, 7) == 20L)
stopifnot(.llvm(fc, 12) == -1L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.