I am trying to instal dplyr package in this project and keep receiving the following 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.
Which command are you running to install dplyr? If you are trying to compile it from source, it'll fail since it requires more than 1 Gb of RAM to do so. Each RStudio Cloud is limited to 1 Gb of RAM.
From the error message it looks like that is exactly what's happening.
To avoid this memory limit issue while installing packages they have them cached, I suspect that the newest version of dplyr hasn't make it to the cache yet so you just have to be a little patient until it does (I can't tell how long though).
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: *** [Collector.o] Error 4
/opt/R/3.6.0/lib/R/etc/Makeconf:176: recipe for target 'Collector.o' failed
ERROR: compilation failed for package ‘readr’
removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/readr’
Warning in install.packages :
installation of package ‘readr’ had non-zero exit status