Hi,
I am trying to deploy a Shiny App to RStudio Connect. I have mastered the first hurdles with the kind help of people on here, but now stuck in a different place.
After deploying, the server (I think via packrat) tries to install the dplyr package.
- installing source package 'dplyr' ...
10/15 22:20:46.058
** package 'dplyr' successfully unpacked and MD5 sums checked
10/15 22:20:46.058
** libs
[omitting long internals printout]
and fails:
g++: internal compiler error: Killed (program cc1plus)
10/15 22:20:46.058
Please submit a full bug report,
10/15 22:20:46.058
with preprocessed source if appropriate.
10/15 22:20:46.058
See http://bugzilla.redhat.com/bugzilla for instructions.
10/15 22:20:46.058
make: *** [arrange.o] Error 4
10/15 22:20:46.058
make: *** Waiting for unfinished jobs....
10/15 22:20:46.058
ERROR: compilation failed for package 'dplyr'
[logs from the RStudio Connect, not local R Studio]
Googling this specific error suggest that I might be running into hardware issues (memory use) here but I am really unsure, especially as I have no access to the machine itself besides the R Studio Connect instance to check. Therefore, I'd appreciate any help regarding the questions:
- What causes this error?
- How can I fix it?
- Is there a good way to address underlying hardware questions through R?
Thanks a bunch!