Error : there is no package called 'digest'

778 views
Skip to first unread message

yamini ayachitam

unread,
Nov 16, 2017, 8:02:49 PM11/16/17
to shinyapps.io Users

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


I tried to install it using this sudo su - -c "R -e \"install.packages('digest', repos='https://cran.rstudio.com/')\""
 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?




Joshua Spiewak

unread,
Nov 17, 2017, 2:00:31 PM11/17/17
to shinyapps.io Users
This group is for deploying Shiny apps to shinyapps.io
For general questions about Shiny, you should ask in the Shiny community.
Reply all
Reply to author
Forward
0 new messages