Skip to content
Prev 2128 / 10988 Next

[Rcpp-devel] Use size_t rather than int for vector sizes and indexing?

Chuck,

Internally, R is using 4-byte integers for indexing, and the length of
a vector is thus constrained to 2-billion-ish elements.  Two ways
around this include packages ff and
bigmemory, for example, or relying on database-like queries.  However,
the resulting objects can't be used with standard R functions (with
some special exceptions).

Jay
On Wed, Apr 13, 2011 at 2:05 PM, <chuck at chuckcode.com> wrote: