getOperatingSystem: Functions to determine the operating system.
Description
- getOperatingSystemSimple wrapper for
.Platform$OS.type
, returns character(1)
.
- isUnixPredicate for OS string, returns
logical(1)
. Currently this would include Unix, Linux and Mac flavours.
- isLinuxPredicate for sysname string, returns
logical(1)
.
- isDarwinPredicate for sysname string, returns
logical(1)
.
- isWindowsPredicate for OS string, returns
logical(1)
.
Usage
getOperatingSystem()
isWindows()
isUnix()
isLinux()
isDarwin()