[[Rcpp::export]]
| 53 | |
| 54 | // [[Rcpp::export]] |
| 55 | DataFrame createTwo(){ |
| 56 | IntegerVector v = IntegerVector::create(1,2,3); |
| 57 | std::vector<std::string> s(3); |
| 58 | s[0] = "a"; |
| 59 | s[1] = "b"; |
| 60 | s[2] = "c"; |
| 61 | return DataFrame::create(Named("a")=v, Named("b")=s); |
| 62 | } |
| 63 | |
| 64 | // [[Rcpp::export]] |
| 65 | DataFrame SlotProxy( S4 o, std::string yy ){ |