On Sun, 30 Sep 2007, Kim Donghoh wrote: > Hello, R users. > > I need help. When I run one of my own functions, I got follwoing error > message. > > Error: cannot allocate vector of size 350493 Kb > > So I check the memory size. > >> memory.limit() > [1] 1610612736 > > Is it enough for vector of size 350493 Kb? Am I missing something?
Yes, yes. 1) This is to allocate a vector in addition to what is already allocated at that time. 2) Although you did not say, this is presumably 32-bit Windows. See what ?"Memory-limits" has to say about fragmentation of the (nornally) 31-bit address space. A 32-bit Windows system has too small an address space to comfortably manipulate 340Mb objects. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.