Skip to contents

Get the current machine's operating system name.

Usage

sys_os()

Value

Character string resulting from Sys.info()[["sysname"]], which will be one of c("windows", "linux", "darwin", etc.) depending on the system.

Examples

if (FALSE) { # \dontrun{
sys_os()
} # }