I have the following Rccp function, which acts in a similar way to R\'s mvrnorm():
mvrnorm()
cppFunction( depends = "RcppArmadillo", \'arma::mat