rmarkdown icon indicating copy to clipboard operation
rmarkdown copied to clipboard

eval option in r chunks with reactive values - R shiny with R flexdashboards

Open StatistikVolker opened this issue 1 year ago • 2 comments

Hei!

I use flexdashboards with shiny in R. This mainly because i like the clearness of the R markdown code, which flexdashboard is based on. Mainly the possibility to use child-Rmd-files leads to a clear code.

In flexdashboards with shiny components it would be fine to use reactive values to steer, wether a child-Rmd-file is executed or not. As I understand R-Markdown this is possible by using the "eval"-Option in r chunks.

What I'm missing is the possibility to use reactive variables in r chunks.

Is this possible to implement this?

Here I have an example code which illustrates my idea, but it unfortunately still don't work.

StatistikVolker avatar Oct 11 '22 07:10 StatistikVolker