Display element ids for debugging Shiny apps
(This article was first published on bioCS
, and kindly contributed to R-bloggers)
My current Shiny project contains at least five tables and I constantly forget how they are called. So I whipped up a little bookmarklet that uses jQuery to show the id of each div and input. Some of those can be ignored as they are internal names set by Shiny, but most are the actual names you define in R.
Drag this link to your bookmarks: "+$(this).attr("id")+"
To leave a comment
for the author, please follow the link and comment on their blog: bioCS
offers daily e-mail updates
news and tutorials
on topics such as: Data science
, Big Data, R jobs
, visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook