4

I want to build a Shiny application where the user can select the input, select output format and click a button to download the report. There are 2 link I think could solve the problem:

http://rmarkdown.rstudio.com/developer_parameterized_reports.html

This link seems exactly what I want but the sample code is use for RStudio environment, I don't know to publish it as a Shiny app in Shiny Server.

http://shiny.rstudio.com/gallery/download-knitr-reports.html

This is the demo from RStudio for Shiny app but I still do not understand how the Shiny app pass parameter to the Rmarkdown document in order to compile the document.

Would someone explain it clearer with an working example.

There was already a question I think is similar to mine here but there was none answer:

How to link rmarkdown report with shinyapps to export webapp content in R?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.