Hi, I am having problems in installing tidyverse package in R.Studio.cloud, indeed when I try to open it
I receive the following error message:
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘readr’
I tried to install readr package and it failed with the following message:
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.org/src/contrib/readr_1.4.0.tar.gz'
Content type 'application/x-gzip' length 488946 bytes (477 KB)
downloaded 477 KB
- installing source package ‘readr’ ...
** package ‘readr’ successfully unpacked and MD5 sums checked
** using staged installation
g++ -std=gnu++11 -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -I/usr/local/include -fpic -g -O2 -c Collector.cpp -o Collector.o
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/4.0.2/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/4.0/readr’
Warning in install.packages :
installation of package ‘readr’ had non-zero exit status
The downloaded source packages are in
How can I fix this issue (I'm not a techy...) ?
Thank you in advance for your help!