Thanks. Here are some information about my computer and file:



Operating system: Windows 2000



RAM: 1.99 GB



After I run the program:

> gc()

          used (Mb) gc trigger  (Mb) max used  (Mb)

Ncells  468065 12.5     818163  21.9   818163  21.9

Vcells 1160828  8.9   46162021 352.2 54869490 418.7



> object.size(a)

[1] 2144392



> str(a)

'data.frame':   16925 obs. of  14 variables:

 $ Site      : Factor w/ 6 levels "HD","LEA","MCD",..: 6 6 6 6 6 6 6 6 6 6
...

 $ Plot      : num  1 1 1 1 1 1 1 1 1 1 ...

 $ Veg       : Factor w/ 2 levels "Forest","Grass": 2 2 2 2 2 2 2 2 2 2 ...

 $ Landuse   : Factor w/ 2 levels "Rural","Urban": 2 2 2 2 2 2 2 2 2 2 ...

 $ Date      : Factor w/ 2484 levels "01-Apr-01","01-Apr-03",..: 1078 1162
1244 1326 1407 1488 1569 1650 1731 1812 ...

 $ Soil.temp : num  26.1 25.9 26.0 25.7 25.5 ...

 $ combin    : Factor w/ 6 levels "HDForestUrban",..: 6 6 6 6 6 6 6 6 6 6
...

 $ year_scale: num  -1.4 -1.4 -1.4 -1.4 -1.4 ...

 $ day       : num  14 15 16 17 18 19 20 21 22 23 ...

 $ M         : num  8 8 8 8 8 8 8 8 8 8 ...

 $ year      : Factor w/ 8 levels "2000","2001",..: 4 4 4 4 4 4 4 4 4 4 ...

 $ combin2   : Factor w/ 11 levels "HDForestUrban1",..: 10 10 10 10 10 10 10
10 10 10 ...

 $ time      : num  225 226 227 228 229 230 231 232 233 234 ...

 $ time_scale: num  32.8 33.8 34.8 35.8 36.8 ...




On Sat, May 17, 2008 at 5:04 PM, jim holtman <jholtman@gmail.com> wrote:

> 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]]

