Skip to content
Prev 478 / 10988 Next

[Rcpp-devel] generalizing make_list

Le 18/03/10 12:55, Dirk Eddelbuettel a ?crit :
named vectors are as common in R as named lists.

RcppArmadillo has an example of creating a named integer vector:

IntegerVector version(3);
version = av.major, av.minor, av.patch ;
CharacterVector names(3);
names = "major", "minor", "patch" ;
version.names() = names ;
For example ?
Sure. be my guest. why don't you start a discussion on what features of 
RProtoBuf you are talking about and how you are going to handle them ...