I installed Shinyapps on Redhat6 machine. When I run the server I get the following error:
Error in loadNamespace(name) : there is no package called ‘digest’
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
But its not running completely. Ending with the folowing error:
make: gcc: Command not found
make: *** [aes.o] Error 127
ERROR: compilation failed for package ‘digest’
Then I tried to install gcc using sudo yum install gcc. But its failing with errors:
Error: Package: ncurses-libs-5.7-3.20090208.el6.i686 (updates)
Requires: ncurses-base = 5.7-3.20090208.el6
Installed: ncurses-base-5.7-4.20090207.el6.x86_64 (@base)
This is my shiny-server.conf file:
# Instruct Shiny Server to run applications as the user "shiny"
run_as yayachitam;
# Define a server that listens on port 3838
server {
listen 8080;
# Define a location at the base URL
location / {
# Host the directory of Shiny Apps stored in this directory
site_dir /srv/shiny-server;
# Log all Shiny output to files in this directory
log_dir /var/log/shiny-server;
# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will be shown.
directory_index on;
sanitize_errors off;
}
Could you help me fix this issue?