powered by
Functions based on .Platform$OS.type and Sys.info() to test if the current operating system is Windows, macOS, Unix, or Linux.
.Platform$OS.type
Sys.info()
is_windows()is_unix()is_macos()is_linux()
is_unix()
is_macos()
is_linux()
library(xfun) # only one of the following statements should be true is_windows() is_unix() && is_macos() is_linux()
Run the code above in your browser using DataLab