---------- Forwarded message ----------
From: Jochen Wirsing <jw1085 at wildcats.unh.edu>
To: R-core at r-project.org
Cc:
Bcc:
Date: Mon, 1 May 2017 11:38:09 -0400
Subject: Problem with nlme after update to R 3.4.0
Dear Sir or Madam,
I am a grad student at UNH, teaching myself how to use R. Not having a background in programming, it is a bit hard to figure out what's wrong, so I thought I should let you know.
Last night, I ran an MLM, and it worked just fine. This morning though, I saw that there is a new Version of RStudio as well as R itself, so I updated both. After doing so, the very identical code that worked last night, doesn't work anymore and throws a rather obscure (at least to me) error:
15.
pdFactor.pdLogChol(X[[i]], ...)
14.
FUN(X[[i]], ...)
13.
lapply(object, pdFactor)
12.
unlist(lapply(object, pdFactor))
11.
pdFactor.reStruct(object)
10.
pdFactor(object)
9.
unlist(pdFactor(object))
8.
MEEM(object, conLin, control$niterEM)
7.
Initialize.reStruct(X[[i]], ...)
6.
FUN(X[[i]], ...)
5.
lapply(object, Initialize, data, conLin, control)
4.
Initialize.lmeStruct(lmeSt, dataMix, grps, control = controlvals)
3.
Initialize(lmeSt, dataMix, grps, control = controlvals)
2.
lme.formula(fixed = year_c ~ 1, random = ~1 | ID, data = data, method = "ML")
1.
lme(fixed = year_c ~ 1, random = ~1 | ID, data = data, method = "ML")
The code I used was:
### Unconditional Model
library(nlme)
library(broom)
uncmod <- lme(fixed = year_c~1, random = ~1|ID, data = data, method ="ML")
tidy(uncmod)
summary(uncmod)
varCorr(uncmod)
I hope this helps and the problem can be fixed soon, because right now, I am stopped dead in my work, unable using the nlme package, on which my analysis depends.
Thank you very much for your consideration, help, and good work!
Best,
Jochen Wirsing