jgr.getMenuNames | R Documentation |
returns the menu / menu item names
jgr.getMenuNames()
jgr.getMenuItemNames(menu)
menu |
name of the menu |
a character vector
jgr.addMenu
jgr.addMenuItem
menus <- jgr.getMenuNames()
index <- which(menus=="Packages & Data")
if(length(index)==0) index <- 1
jgr.insertMenu("User menu",index)
jgr.addMenuItem("User menu", "Good place for user generated menus is",
"print('before Packages & Data')")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.