J S
2008-May-16 17:56 UTC
[R] autocorrelation error: cannot allocate vector of size 220979 Kb
Dear R community, I used a linear mixed model (named lm11) to model daily soil temperature depending upon vegetation cover and air temperature. I have almost 17,000 observations for six years. I can not account for autocorrelation in my model, since I receive the error message after applying the function: update(lm11, corr=corAR1()) Error: cannot allocate vector of size 220979 Kb Do you have any suggestions? Thanks, Julia [[alternative HTML version deleted]]
jim holtman
2008-May-17 21:04 UTC
[R] autocorrelation error: cannot allocate vector of size 220979 Kb
More information is needed. What is your operating system? How much RAM do you have? Are there other objects in memory that you could delete to recover some space? What does 'str' and 'object.size' say for the data you are analyzing? What does 'gc()' report - you may want to do this before/after sections of code to see how memory might be growing. On Fri, May 16, 2008 at 1:56 PM, J S <yulya258@gmail.com> wrote:> Dear R community, > > > > I used a linear mixed model (named lm11) to model daily soil temperature > depending upon vegetation cover and air temperature. I have almost 17,000 > observations for six years. > > > > I can not account for autocorrelation in my model, since I receive the > error > message after applying the function: > > > > update(lm11, corr=corAR1()) > > > > Error: cannot allocate vector of size 220979 Kb > > > > Do you have any suggestions? > > > > Thanks, Julia > > [[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<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem you are trying to solve? [[alternative HTML version deleted]]