[[Rcpp::export]]
| 513 | |
| 514 | // [[Rcpp::export]] |
| 515 | CharacterVector character_assign1(){ |
| 516 | const char* x[] = { "foo", "bar", "bling", "boom" } ; |
| 517 | CharacterVector y ; |
| 518 | y.assign( x, x+4 ) ; |
| 519 | return y; |
| 520 | } |
| 521 | |
| 522 | // [[Rcpp::export]] |
| 523 | CharacterVector character_assign2(){ |