Skip to content

How to expand the size limit of a vector?

2 messages · Guoqi Qian, Brian Ripley

#
Hi everybody on this list,

Could somebody please tell me how to expand the size limit of a vector
in R?
In my simulation I get the following error message:
Error: cannot allocate vector of size 781250 Kb
In addition: Warning message: 
Reached total allocation of 511Mb: see help(memory.size)

Thanks in advance

Yours sincerely,

Guoqi Qian

-----------------------------------------------------------------
Guoqi Qian                
Department of Statistics  
La Trobe University       
Bundoora, VIC 3086             
AUSTRALIA                 
Email:g.qian at latrobe.edu.au
Tel:  +61 3 9479 2609
Fax:  +61 3 9479 2466
http://www.latrobe.edu.au/www/statistic/
#
On Fri, 26 Nov 2004, Guoqi Qian wrote:

            
You must be using Windows, without telling us. The rw-FAQ tells you the 
answer, as well as the help page that message refers to.  It's better for 
you that you learn to use these resources than ask 2000 people to read 
them for you.

You may also need to get a bigger computer, since you are trying to create 
a single object bigger than your computer's RAM memory and a high 
proportion of the address space of a Windows machine.  It might be more 
sensible to ask your more senior colleagues for advice on your statistical 
computing and see if you can avoid this computation.

        
which asks you to read the rw-FAQ before posting.