In reading the names of a data frame in an Rcpp program I find that the following both work:
CharacterVector nmz = dfr.names(); CharacterVector nmz = dfr.attr("names"); Is there any reason to prefer one to the other, or are they considered equivalent?
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel