Skip to content

RandomCriticalAnalysis/bsselectR

 
 

Repository files navigation

bsselectR

Add bootstrap-select dropdown menus to your R Markdown documents without Shiny

To install: devtools::install_github("walkerke/bsselectR")

The bsselect function will generate an htmlwidget that allows you to interactively display text, images, and iframes from a named vector. More documentation is coming soon; in the meantime, here is a preview of how the package works:

library(bsselectR)

quotes <- c("Look deep into nature, and then you will understand everything better.", 
            "A fool thinks himself to be wise, but a wise man knows himself to be a fool.", 
            "My mission in life is not merely to survive, but to thrive; and to do so with some passion, 
            some compassion, some humor, and some style.")

quotes <- setNames(quotes, c("Einstein", "Shakespeare", "Angelou"))

bsselect(quotes, type = "text", height = 200)

You can even make your R Markdown presentations interactive!

About

In-progress htmlwidget for bootstrap-select

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 41.0%
  • HTML 34.9%
  • R 12.0%
  • CSS 10.8%
  • PowerShell 1.3%