getOperatingSystem {BBmisc} | R Documentation |
Functions to determine the operating system.
Description
getOperatingSystemSimple wrapper for
.Platform$OS.type
, returnscharacter(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()
Value
See above.
[Package BBmisc version 1.13 Index]