[Rcpp-devel] DataFrame names
Rguy
rguy at 123mail.org
Fri Sep 18 21:54:00 CEST 2015
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>
More information about the Rcpp-devel
mailing list