Report this

What is the reason for this report?

Problems installing shiny

Posted on December 21, 2015

Hello, I am trying to install shiny and having issues with its dependencies. My server is an Ubuntu 14.04 using nginx as the web server. When I run the statement sudo su - -c “R -e "install.packages(‘shiny’, repos=‘http://cran.rstudio.com/’)"” at the command line, it starts to work. Here is the info that is returned when attempting to install.

  • installing source package ‘Rcpp’ … ** package ‘Rcpp’ successfully unpacked and MD5 sums checked ** libs g++ -I/usr/share/R/include -DNDEBUG -I…/inst/include/ -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c Date.cpp -o Date.o g++ -I/usr/share/R/include -DNDEBUG -I…/inst/include/ -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c Module.cpp -o Module.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-4.8/README.Bugs> for instructions. make: *** [Module.o] Error 4 ERROR: compilation failed for package ‘Rcpp’
  • removing ‘/usr/local/lib/R/site-library/Rcpp’ ERROR: dependency ‘Rcpp’ is not available for package ‘httpuv’
  • removing ‘/usr/local/lib/R/site-library/httpuv’ ERROR: dependency ‘httpuv’ is not available for package ‘shiny’
  • removing ‘/usr/local/lib/R/site-library/shiny’

The downloaded source packages are in ‘/tmp/RtmpduxxBi/downloaded_packages’ Warning messages: 1: In install.packages(“shiny”, repos = “https://cran.rstudio.com/”) : installation of package ‘Rcpp’ had non-zero exit status 2: In install.packages(“shiny”, repos = “https://cran.rstudio.com/”) : installation of package ‘httpuv’ had non-zero exit status 3: In install.packages(“shiny”, repos = “https://cran.rstudio.com/”) : installation of package ‘shiny’ had non-zero exit status

So it appears two of the dependencies (Rcpp and httpuv), so far, while unpacking are not installing.

Does anyone know what may be causing this and even better, how to fix this issue? Thank you in advance for any solutions!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.