Shiny Voice-Activated input

Shiny R Packages

Want to make your Shiny apps voice-interactive? Now it’s possible.

Javier Orraca (Scatter Podcast)

Hey R Shiny users, want to make your Shiny apps voice-interactive? For example, “Click on Product Toy-2A and then drill-down by Region.” Ummm, yes please. Pretty neat stuff made possible with the heyshiny package. “The heyshiny package provides a new Shiny input, the speechInput(). This new input allows your Shiny app to listen to the microphone, recognize the speech, and return it as text.”

The main caveat with this package is that it is based on the annyang JavaScript library and therefore requires that 1) you’re online and 2) using a browser that supports speech recognition (I tried this on Chrome and works fine). It’s not on CRAN but check out the GitHub page, below. Here’s an example if you’re getting set up, pulled from their GitHub repo:

* heyshiny on GitHub


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Orraca (2020, July 3). Javier Orraca: Shiny Voice-Activated input. Retrieved from

BibTeX citation

  author = {Orraca, Javier},
  title = {Javier Orraca: Shiny Voice-Activated input},
  url = {},
  year = {2020}