factor of Rcpp