One way is to look at .Machine$sizeof.pointer -- 4 on 32-bit and 8 on 64-bit.
luke
On Fri, 18 Aug 2006, McGehee, Robert wrote:
> Hello,
> Is there a way to query whether R has been compiled using 32- or
> 64-bits? A certain memory-intensive simulation will need to be optimized
> differently depe
.Machine$sizeof.pointer is 4 or 8.
On Fri, 18 Aug 2006, McGehee, Robert wrote:
> Hello,
> Is there a way to query whether R has been compiled using 32- or
> 64-bits? A certain memory-intensive simulation will need to be optimized
> differently depending on the memory constraints of the architectu