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