lme4 package install error

Hello.
unable to install lme4 on R Studio.cloud

error message...

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make: *** [external.o] Error 4
/opt/R/3.6.0/lib/R/etc/Makeconf:176: recipe for target 'external.o' failed
ERROR: compilation failed for package ‘lme4’

  • removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/lme4’
    Warning in install.packages :
    installation of package ‘lme4’ had non-zero exit status

This happens from time to time when a new version of a package is out, the reason is that lme4 requires more than 1GB of memory to compile (the current RStudio Cloud memory limit), the way RStudio Cloud addresses this issue is by caching precompiled binaries of the packages but it could take some time for the cache to update to the current lme4 version.

2 Likes

Oh, I see.
Thanks a lot, andresrcs.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.