Displaying 1 result from an estimated 1 matches for "fit07ma4".
2012 Sep 10
1
Memory errors using lmer
....1-104 stats4_2.14.0 tools_2.14.0
I run this code:
> install.packages("lme4")
> library(lme4)
> math07g4 <- sqlQuery(conn, "select ssid, ss_chg, campus2, district_id, pblack, pfreelnch, pmob
FROM codemob0607ma WHERE grade2 = 4")
> attach(math07g4)
> fit07ma4 <- lmer(ss_chg ~ 1 + factor(campus2) + factor(district_id) + pblack + pfreelnch + pmob +
(1 | campus2) + (1 | district_id), data=math07g4)
And I get this:
Error: cannot allocate vector of size 2.5 Gb
In addition: Warning messages:
1: In model.matrix.default(mt, mf, contrasts) :
Reached to...