useR!2017 has ended
Back To Schedule
Thursday, July 6 • 6:00pm - 6:05pm
bsplus: Using Twitter Bootstrap to extend your Shiny app

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Keywords: shiny, rmarkdown, HTML, Twitter Bootstrap
Webpages: https://cran.r-project.org/package=bsplus, http://ijlyttle.github.io/bsplus/
With the advent of shiny (Chang et al. 2017) modules, you can create and support apps with more components and more complexity. One of the limiting factors is that we have but one “dimension” of interfaces using a tabsetPanel in the UI. This was the motivation to develop a second, independent “dimension” of interfaces in an “accordion-sidebar” framework. This is one of the function families provided in the bsplus (Lyttle 2017) package.
As well, the bsplus package lets you compose HTML using pipes. Its functions are designed to help you access Twitter Bootstrap (Bootstrap Core Team 2017) components independent of the server side of shiny. It also includes collapsible panels, accordions, carousels, tooltips, popovers and modals. You can use carousels to contain and display images (plots), whereas tooltips, popovers and modals can be useful for providing help and documentation for your apps.
References Bootstrap Core Team. 2017. Bootstrap: The World’s Most Popular Mobile-First and Responsive Front-End Framework. https://getbootstrap.com.

Chang, Winston, Joe Cheng, JJ Allaire, Yihui Xie, and Jonathan McPherson. 2017. Shiny: Web Application Framework for R. https://CRAN.R-project.org/package=shiny.

Lyttle, Ian. 2017. Bsplus: Adds Functionality to the R Markdown + Shiny Bootstrap Framework. https://CRAN.R-project.org/package=bsplus.

avatar for Ian Lyttle

Ian Lyttle

Sr. Staff Engineer, Schneider Electric

bsplus pdf

Thursday July 6, 2017 6:00pm - 6:05pm CEST
2.02 Wild Gallery