os | R Documentation |
Determine operating system name.
os()
os.linux()
os.macos()
os.windows()
os.unix()
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
.
The macOS operating system identifies itself as "Darwin"
.
Both Linux and macOS are os.unix
.
These shorthand functions can be useful when writing workaround solutions in platform-independent scripts.
Sys.info
is the underlying function used to extract the
operating system name.
TAF-package
gives an overview of the package.
os()
os.linux()
os.macos()
os.unix()
os.windows()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.