Communicating between R Shiny App and Rmd Report

Hi there!

I'm trying to create a Shiny App to serve as an interface to create an Rmd Report. This should allow the user to append different components of the app to the report. For this, I'm trying to use an Rmd template that will allow me to evaluate these objects whenever they exist and skip them when they don't.

I'm currently having trouble accessing the objects defined in the shinyApp from the Rmd report. At first I thought I could just set the parameters at the beginning of the Rmd doc, but that is not working. Is there any way I can access these directly? How can I make these objects available from the report file?

Thank you in advance for your help!

You should be able to pass some values calculated in your shiny apps using a list to pass to params in your Rmd document.

Have you seen this example / demo ?

If this is not working for you, can you share more code ?

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.