Hi! I am a beginner trying to model microbiome alpha diversity in Rstudio, and have been stuck, as every time I try to run the lmer function in Rstudio, R aborts and terminates my session. I have tried updating R, updating packages, removing and re-installing packages, and detaching packages that may mask the function, with no luck.
I have tried running the example code on the Rstudio help documentation, and that also aborts, as well as when I try to run code using 'lmer' from online tutorials and old code that worked in the past. However, in the Windows console, this code worked :
library("lme4")
sessionInfo()
lmer(Reaction ~ Days + (1|Subject), sleepstudy)
I am wondering what else I can do to troubleshoot, thanks!
I have R 4.3.2 and ‘lme4’ version 1.1-35.1, and am working on a Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz 1.99 GHz with Windows 11. My session info was: "
R version 4.3.2 (2023-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22621)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8
[2] LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
time zone: Europe/Budapest
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lme4_1.1-35.1 Matrix_1.6-1.1
loaded via a namespace (and not attached):
[1] minqa_1.2.6 MASS_7.3-60 compiler_4.3.2 Rcpp_1.0.11 splines_4.3.2
[6] nlme_3.1-163 grid_4.3.2 nloptr_2.0.3 boot_1.3-28.1 lattice_0.21-9"