0

I have this app below but when the user clicks the link to access google, it opens up a new window and redirects them to google. Is it possible so that the google homepage opens up within the app (perhaps to the right of the drop down menu) without opening up a new window

    library(shiny)
library(shinydashboard)


ui <- 
  dashboardPage(skin="black",
                dashboardHeader(title = "CPV Dashboard - Berkeley", titleWidth = 450),
                dashboardSidebar(
                  sidebarMenu(
                    menuItem("Drug 2", tabName = "Drug 1", icon = icon("medicine"),
                             menuItem("Cell Culture",
                                      menuItem("Control Chart", icon = icon("science"), href = "https://google.com"))
                ))),

dashboardBody())

server = function(input, output, session){
  
}

shinyApp(ui, server)
Tiffany
  • 129
  • 6
  • Perhaps you want to embed an iframe in your site: https://stackoverflow.com/questions/33020558/embed-iframe-inside-shiny-app. Otherwise it's not clear how you would include another website in your own web app. – MrFlick Jul 29 '21 at 19:27

0 Answers0