On Fri, May 16, 2014 at 2:15 PM, Prof Brian Ripley <rip...@stats.ox.ac.uk>wrote:

> On 16/05/2014 11:06, Duncan Murdoch wrote:
>
>> [...]
>>>
>>> I've looked at all SEXPTYPEs in the R internals, and the only one
>>> specific
>>> to integer vectors is INTSXP. Can this be used for vectors of length
>>> larger
>>> than 32-bit?
>>>
>>
>> Yes, see the section on "Long Vectors" in chapter 12.
>>
>
> ('Yes on a 64-bit platform.')  The type for a vector length is R_xlen_t,
> e.g. allocVector is declared as
>
> SEXP     Rf_allocVector(SEXPTYPE, R_xlen_t);
>
> That is never 'long long int' ....
>

Oh yes, of course.
I now have all the information I need.

Thanks and best wishes,
Adrian

-- 
Adrian Dusa
University of Bucharest
Romanian Social Data Archive
1, Schitu Magureanu Bd.
050025 Bucharest sector 5
Romania
Tel.:+40 21 3126618 \
        +40 21 3120210 / int.101
Fax: +40 21 3158391

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to