library(Rcpp)
library(RcppArmadillo)
sourceCpp(file = 'D:\\gpapageorgiou\\Github_Repos\\JMbayes2\\Dev_Local\\Cpp_funs\\test_if_for_scope.cpp')
x <- list(1:4, 5:8, 9:12)
chk <- foo(x, 1)
chk[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.