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: *** [DataSparse.o] Error 4
/opt/R/3.5.2/lib/R/etc/Makeconf:171: recipe for target 'DataSparse.o' failed
ERROR: compilation failed for package ‘ranger’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/ranger’
Warning in install.packages :
installation of package ‘ranger’ had non-zero exit status
I didn't do much except installing a few packages necessary for machine learning like caret, gbm, randomForests, xgboost. And dplyr and tidyverse of course.
But do these occupy so much in memory?
So can I solve it by not loading anything and then try to install?