Mac Menus with R
First, install Bitbar, an open source tool for creating Mac menus with any language. (More information)
Next, install bitbaR.
install.packages("devtools")
devtools::install_github("jsowder/bitbaR")
Finally, create your menu.
bitbaR::bb_new("MyMenu", path = "path/to/your/bitbar/folder")
From there, the template file will explain itself. Have fun!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.