Skip to content
Prev 4892 / 15075 Next

memory allocation problems

Like Sean is aying, you most likely are using _way_ more memory than  
1.2 GB.

However, if you a re running 32bit R (which is the case if you use the  
CRAN binary) R can only access 2GB, so you can squeeze a little more  
out of your machine by switching to a 64bit version of R. You can  
check what version you have by typing
R> .Machine
and look for sizeof.pointer - if it is 4 you are using 32bit, if it is  
8 you are using 64 bit.

If you want the 64 bit version of R you can download a binary from  
Simon's page: r.research.att.com , but you need to also get the  
preview build of GCC 4.2 which is available from Apple's developer  
site (although hard to find these days).

Kasper
On Jun 30, 2008, at 3:23 AM, Sean Davis wrote: