## From ui.R: Adds a tooltip to element with inputId = "someInput"
## with text, "This is an input.", that appears to the left on hover.
bsTooltip(id = "someInput", title = "This is an input",
placement = "left", trigger = "hover")
## From server.R: Add the same tooltip as above
addTooltip(session, id="someInput", title = "This is an input.",
placement = "left", trigger = "hover")
Run the code above in your browser using DataLab