Relative Content

Tag Archive for rshinyquarto

file.copy with downloadButton in Shiny

I would like to create a downloadButton which downloads certain files. The problem I’m facing is that I can’t specify the destination path of the file in a Quarto dashboard. For that reason I’m trying to use file.copy which copies the file to the right destination path. Here is a simple reproducible example:

Wrong formatting when rendering quarto from shiny

I’m encountering a formatting issue when attempting to render a quarto document from my shiny application. By employing the same example as the solution to this SO question, I can render my quarto, but it doesn’t have the correct formatting.