Skip to content

LoadLibrary failure for httpuv.dll when trying to run shiny #4204

Open
@JDDEVENE

Description

@JDDEVENE

I have some R code that I was running on a shared cloud (Windows Server 2016 x64) for several months. Now, when I try to run the app I get the following error:

library(shiny); runApp('DRO Tool V4.R')
Error: package or namespace load failed for ‘shiny’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Users/jdevenezia003/AppData/Local/R/win-library/4.4/httpuv/libs/x64/httpuv.dll':
LoadLibrary failure: The specified procedure could not be found.

I tried reinstalling httpuv, shiny, and rcpp but I still get the same error. I also tried updating packages, and removing all packages and then reinstalling them.

Here is my sessionInfo:
sessionInfo()
R version 4.4.3 (2025-02-28 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows Server 2016 x64 (build 14393)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252

time zone: Etc/UTC
tzcode source: internal

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_4.4.3 tools_4.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions