getOperatingSystem: Functions to determine the operating system.

View source: R/getOperatingSystem.R

getOperatingSystemR Documentation

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()

Value

See above.


BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.