How to organize large Shiny apps?

前端 未结 4 1683
无人共我
无人共我 2020-12-12 09:32

What are the best practices to organize larger Shiny applications?
I think best R practices are also applicable to Shiny.
Best R practices are discussed here: How to

4条回答
  •  轮回少年
    2020-12-12 09:50

    I wrote Radiant. I have not heard people say bad things about the code organization (yet) but I am sure it could be better. One option would be to separate the ui and logic as Joe Cheng does in shiny-partials.

    https://github.com/jcheng5/shiny-partials

    Another might be to try OO programming, e.g., using R6 http://rpubs.com/wch/17459

提交回复
热议问题