I was trying to run a shiny app in RStudio but everytime i tried to run the document it refuses to run it saying
error in library(shiny) : there is no package called ‘shiny’
This happens also after i installed the shiny app.
Installing package into ‘/home/mrshekar/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/shiny_1.1.0.tar.gz'
Content type 'application/x-gzip' length 2350156 bytes (2.2 MB)
==================================================
downloaded 2.2 MB
* installing *source* package ‘shiny’ ...
** package ‘shiny’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in library.dynam(lib, package, package.lib) :
shared object ‘httpuv.so’ not found
ERROR: lazy loading failed for package ‘shiny’
* removing ‘/home/mrshekar/R/x86_64-pc-linux-gnu-library/3.4/shiny’
Warning in install.packages :
installation of package ‘shiny’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpjZEHLD/downloaded_packages’
Something similar happens when i try to deploy the shiny web app in the server. It says
Download the Shiny app now?
Everytime i start a new app eve after i have installed the packages. Please help. Thanks
The answer in Can't install ggplot2 at debian 7.6 in R works. But after you do that manually enter all the packages you want to install in it