[R] Ask about the memory size problem

David Winsemius dwinsemius at comcast.net
Mon Oct 5 03:33:22 CEST 2009

On Oct 4, 2009, at 9:22 PM, Yi Du wrote:

> Hi there,
> I run a loop program with R and need to save the variable in each  
> step into
> a vector.

Data? Code?

> After I ran the code, R told me that Error: cannot allocate vector
> of size 266.6 Mb. Is there any solution of this kind of problem?  
> Thank you
> for your attention.

More memory?

Get rid of other un-needed applications?

Read the appropriate FAQ? (  ... for the OS that you have not  


David Winsemius, MD
Heritage Laboratories
West Hartford, CT

More information about the R-help mailing list