Update a link to download a pdf in Shinyapps

Hello,

I built an application using shiny.
I would now need to insert a button that allows me to download the application's user manual (it's a PDF file).
I can't find adequate documentation to make it happen.

Thanks for your help,
Alexander

Hello,

Typically we would download the file as specified via the downloadHandler function. See a full example here: r - How to download a PDF file in a Shiny app - Stack Overflow

The important thing to note is that if the .pdf is part of your shiny app that you need to include a folder in your project called www and add that path section as part of the reference to the .pdf.