I am attempting to install Shiny and Shiny Server on Ubuntu. I have install R and RStudio on ubuntu.
While installing the Shiny or devtools package, i am getting the below error.
Installing package into ‘/home/asset/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/shiny_1.2.0.tar.gz'
Content type 'application/x-gzip' length 2987723 bytes (2.8 MB)
downloaded 2.8 MB
- installing source package ‘shiny’ ...
** package ‘shiny’ successfully unpacked and MD5 sums checked
** preparing package for lazy loading
Warning: S3 methods ‘format.staticPath’, ‘format.staticPathOptions’, ‘print.staticPath’, ‘print.staticPathOptions’ were declared in NAMESPACE but not found
Error in library.dynam(lib, package, package.lib) :
shared object ‘httpuv.so’ not found
ERROR: lazy loading failed for package ‘shiny’
- removing ‘/home/asset/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
Error in library(shiny) : there is no package called ‘shiny’
How to install R packages on ubuntu OS?