is_os_windows {shinybrowser} | R Documentation |
Is the user on Windows?
Description
Convenience function that checks if the user's operating system is detected as Windows.
See get_os()
for details.
Usage
is_os_windows()
Value
Whether or not this user using Windows
Examples
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)
}
[Package shinybrowser version 1.0.0 Index]