Re: [Rd] SEXPTYPEs

2014-05-17 Thread Adrian Dușa
On Fri, May 16, 2014 at 2:15 PM, Prof Brian Ripley rip...@stats.ox.ac.ukwrote: 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

Re: [Rd] SEXPTYPEs

2014-05-16 Thread Duncan Murdoch
On 16/05/2014, 4:16 AM, Adrian Dușa wrote: Dear list, On a follow up from my previous email, I am now trying to allocate vectors of length larger than 32-bit in C. From the R internals documentation, I read that: The sxpinfo header is defined as a 32-bit C structure... and A SEXPREC is a C

Re: [Rd] SEXPTYPEs

2014-05-16 Thread Prof Brian Ripley
On 16/05/2014 11:06, Duncan Murdoch wrote: On 16/05/2014, 4:16 AM, Adrian Dușa wrote: Dear list, On a follow up from my previous email, I am now trying to allocate vectors of length larger than 32-bit in C. From the R internals documentation, I read that: The sxpinfo header is defined as a