Problem with shiny

Hi everyone
I’m new with ploty, so I use R and I installed ploty, but when I try a sample code

today <- Sys.Date()
tm <- seq(0, 600, by = 10)
x <- today - tm
y <- rnorm(length(x))
p <- plot_ly(x = ~x, y = ~y, mode = 'lines', text = paste(tm, "days from today"))

# Create a shareable link to your chart
# Set up API credentials:
chart_link = api_create(p, filename="timeseries-1")

from the website the error is:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : **
** there is no package called ‘shiny’

So i have installed the shiny package, but nothing works.
When I try to instal, I hve this message
installing source package ‘shiny’ …
** package ‘shiny’ correctement décompressé et sommes MD5 vérifiées
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace ‘httpuv’ 1.4.1 is being loaded, but >= 1.4.3 is required
ERROR: lazy loading failed for package ‘shiny’

  • removing ‘C:/Users/neo13/Documents/R/win-library/3.3/shiny’
    Warning messages:
    1: l’exécution de la commande ‘“C:/PROGRA~1/R-33~1.0/bin/x64/R” CMD INSTALL -l “C:\Users\neo13\Documents\R\win-library\3.3” “C:/Users/neo13/Documents/R/win-library/3.3/shiny_1.1.0.tar.gz”’ renvoie un statut 1
    2: In install.packages(files[tarballs], .libPaths()[1L], repos = NULL, :
    l’installation du package ‘C:/Users/neo13/Documents/R/win-library/3.3/shiny_1.1.0.tar.gz’ a eu un statut de sortie non nul

Is somebody can help me please.

I found solution, but now I have this new error:
Error in inDL(x, as.logical(local), as.logical(now), …) : **
** impossible to load the share ogject ‘…/R/win-library/3.3/later/libs/x64/later.dll’:

** LoadLibrary failure.**

I fact the dll exist and the path, is fine.
Some ideas please?


Hi, I´m new with Plotly and installing the package brought me some problems such as I need a package called shiny, but installing this is not allowed, any idea on what can I do?