As the error message suggests, see ?memory.size, and you'll find that the problem is arising because R is running out of memory. If you were able to run this analysis before, then one possible reason why it now fails is that the workspace has increased in size in the interim - more objects and results from analyses. Open R with a clean, empty workspace, and run the analysis - I bet it works.
Or install more RAM and use the 64 bit version of windows. On Tue, Apr 10, 2012 at 10:09 AM, Frederico Mestre < mestre.freder...@gmail.com> wrote: > Hello: > > > > While running R doing the analysis of my data I (using packages such as > BIOMOD or e1071) get the following error as a result of several of my > analysis: > > > > Error: cannot allocate vector of size 998.5 Mb > > In addition: Warning messages: > > 1: In array(c(rep.int(c(1, numeric(n)), n - 1L), 1), d, dn) : > > Reached total allocation of 4095Mb: see help(memory.size) > > 2: In array(c(rep.int(c(1, numeric(n)), n - 1L), 1), d, dn) : > > Reached total allocation of 4095Mb: see help(memory.size) > > 3: In array(c(rep.int(c(1, numeric(n)), n - 1L), 1), d, dn) : > > Reached total allocation of 4095Mb: see help(memory.size) > > 4: In array(c(rep.int(c(1, numeric(n)), n - 1L), 1), d, dn) : > > Reached total allocation of 4095Mb: see help(memory.size) > > > > My question is: I've done the analysis of this same data in the same > computer and everything worked out fine. Now I get this error as a result > of > several analysis. What changed? > > > > I'm running R in a 64 bits, Windows 7 , 4 GB of RAM computer. > > > > Thanks, > > Frederico Mestre > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > -- Drew Tyre School of Natural Resources University of Nebraska-Lincoln 416 Hardin Hall, East Campus 3310 Holdrege Street Lincoln, NE 68583-0974 phone: +1 402 472 4054 fax: +1 402 472 2946 email: aty...@unl.edu http://snr.unl.edu/tyre http://aminpractice.blogspot.com http://www.flickr.com/photos/atiretoo [[alternative HTML version deleted]] ______________________________________________ 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.