I'm no expert and this doesn't really address your question but generally I try to increase my memory limit when I get these errors. You can increase your memory to 3G with the following:
memory.limit(3000) -- View this message in context: http://r.789695.n4.nabble.com/Memory-shortage-running-Repeated-Measures-nlme-tp789920p4517264.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.