Replying to @zentree
a) That is an out-of-memory error because your VM is too small for C++ compilation b) solution one: do not compile: sudo apt install r-cran-lme4 c) solution two, much better: look into r2u: eddelbuettel.github.io/r2u/ #rstats

Sep 30, 2022 · 11:07 PM UTC

1
1
10
You can increase swap size but I also second r2u which lets you skip install altogether
1
This tweet is unavailable
It's a bit of a 'deja vu' -- while I don't have VMs that small (I just use Docker, being on Linux) I answered that same question a few times at StackOverflow etc. That said, do look into r2u. It's honestly rather good (and I switched all my CI etc to it).