Don't try and use Rcpp for pseudo code