Skip to content
Prev 8961 / 10988 Next

[Rcpp-devel] DataFrame names

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150918/c1f5c619/attachment.html>