is_browser_chrome | R Documentation |
Convenience function that checks if the user's browser is detected as Chrome.
See get_browser()
for details.
is_browser_chrome()
Whether or not this user using Chrome
if (interactive()) { library(shiny) ui <- fluidPage( shinybrowser::detect(), "Are you using Chrome?", textOutput("result") ) server <- function(input, output, session) { output$result <- renderText({ shinybrowser::is_browser_chrome() }) } shinyApp(ui, server) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.