How to embed layout in shiny widgets within R Markdown? -


i want embed shiny code within markdown document. i've seen, there 2 options:

  1. have widget , output in code chunk

  2. embed full shiny application

however, goal break down 1 full shiny app within different parts. if create , embed shiny app each part, have no idea how make values flow 1 app another. if include widgets, can't retain ui design.

so question is, possible have layout around shiny widgets within code chunk?

for example:

fluidpage(     tabpanel("example",              titlepanel("example"),              sidebarlayout(                sidebarpanel(                  checkboxinput('simple', 'simple widget', true) ))))) 

instead of just:

checkboxinput('simple', 'simple widget', true) 

inside markdown code chunk.

thanks!


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -