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.


berndbischl/BBmisc documentation built on Jan. 6, 2023, 12:32 p.m.