Cannot Install Shiny Ubuntu 18.04 on AWS t2.micro - HTTPUV error

I've followed this workflow ( in the past to set up a new AWS server and install R/shiny. I've followed this exactly so far today and it is not working. Shiny gets hung up and stuck on the install of httpuv, so that's as far as I get. Anyone have any clue as to what is happening? I've tried a few solutions I've found on here like reinstalling Rcpp and then httpuv but the install keeps freezing. I'm throwing my hands up in frustration over here. Here is the last part of the code output where it gets hung up on:

In file included from /usr/include/c++/7/memory:80:0,
                 from /usr/local/lib/R/site-library/BH/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/local/lib/R/site-library/BH/include/boost/get_pointer.hpp:14,
                 from /usr/local/lib/R/site-library/BH/include/boost/bind/mem_fn.hpp:25,
                 from /usr/local/lib/R/site-library/BH/include/boost/mem_fn.hpp:22,
                 from /usr/local/lib/R/site-library/BH/include/boost/bind/bind.hpp:26,
                 from /usr/local/lib/R/site-library/BH/include/boost/bind.hpp:22,
                 from webapplication.cpp:1:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;

Well, it appears my error is using too small of a machine (free tier t2.micro). Upgrade to t2.medium to install and then adjust it back down again.

1 Like

Actually you can install shiny on the t2.micro (I have tested it) you just have to add some swap memory.

1 Like

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.