Learn R Programming

icesTAF (version 3.6.0)

os: Operating System

Description

Determine operating system name.

Usage

os()

os.linux()

os.macos()

os.windows()

os.unix()

Arguments

Value

os returns the name of the operating system, typically "Linux", "Darwin", or "Windows".

os.linux, os.macos, os.unix, and os.windows

return TRUE or FALSE.

See Also

Sys.info is the underlying function used to extract the operating system name.

icesTAF-package gives an overview of the package.

Examples

Run this code
# \donttest{
os()
os.linux()
os.macos()
os.unix()
os.windows()
# }

Run the code above in your browser using DataLab