trouble with tcltk (was RE: [R] trouble compiling R on Irix )

Thomas Lumley tlumley at
Fri Apr 19 18:26:41 CEST 2002

On Fri, 19 Apr 2002, Suchandra Thapa wrote:

> On Fri, Apr 19, 2002 at 09:11:12AM -0400, Liaw, Andy wrote:
> > Before I settle on a particular option, I'd like to ask one more question if
> > I may: Are there any practical advantages to compiling R to 64-bit vs
> > 32-bit?
>     If you compile R as a 64 bit application you should be able to address more
> than 4GB of ram, but I'm not sure if R will support this.

According to src/main/memory.c, R will allocate up to INT_MAX records in
each heap, which would be 56Gb of Ncells (or probably a bit more with
64bit pointers) and 16Gb of vector heap. I don't know of anyone who has
actually tried addressing more than 4Gb of RAM, and it's possible that
there is some other limit that prevents it working.


r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at

More information about the R-help mailing list