From within shiny I want to open a HTML page in a new browser tab. Here it is pointed out that I need JS for that task. Let\'s say I want to open the URL http://www.google.com
I was having a problem similar to this so I thought I would add my solution.
I wanted to have links in the tabPanel but Shiny will open a new blank page and have a link instead of just clicking on the tabPanel and opening a new page. Using the standard bootstrap CSS the workaround is to use the navbarMenu and then put the links in the tabPanel.
navbarMenu("Links",
tabPanel(
a("Google", href="https://google.com", target="_blank")
)