Skip to content
Prev 7985 / 10988 Next

[Rcpp-devel] Rcpp::ListOf.size() returns signed int?

Hi Christian,

Thanks for catching this. I think this is an oversight -- this should
return `R_len_t` as well. Or, when long vector support is implemented,
`R_xlen_t` should be used instead (especially since `ListOf<T>` is
more-or-less a fancy interface over a `List` object)

Just pushed a corresponding change to master on Rcpp:
https://github.com/RcppCore/Rcpp/commit/0da625a34269191d1683b2edb537d3537367c681

Thanks,
Kevin
On Mon, Sep 1, 2014 at 9:01 PM, Christian Gunning <xian at unm.edu> wrote: