Dear All,

I'm running the lme command in R and have a problem as i include the correlation structure with AR1 model. 

At first, i run this command without including the correlation structure, and the program works fine. But, after including the correlation structure with AR1 model, my computer drastically takes almost two minutes to process on this command.


#################################################################
lm.lme1 <- lme(Temp ~ t1 + t2, tmp, random = ~t1 + t2| Depth, method = "REML")
lm.lme2 <- update(lm.lme1, correlation = corARMA(p=2, form = ~t1| Depth))
#################################################################
 
Eventually, it gives this output, which i guess related with the memory problem.
 
#################################################################
Error: cannot allocate vector of size 715.6 Mb
In addition: Warning messages:
1: In corFactor.corARMA(object) :
  Reached total allocation of 958Mb: see help(memory.size)
2: In corFactor.corARMA(object) :
  Reached total allocation of 958Mb: see help(memory.size)
3: In corFactor.corARMA(object) :
  Reached total allocation of 958Mb: see help(memory.size)
4: In corFactor.corARMA(object) :
  Reached total allocation of 958Mb: see help(memory.size)
################################################################
 
Could someone advice me on how to sort out on this problem? 
 
Thank you.
 
Fir


      
	[[alternative HTML version deleted]]


