A list with at least the following components:
OS.typecharacter string, giving the Operating System
(family) of the computer. One of "unix"
or "windows"
.
file.sepcharacter string, giving the file separator used on your
platform: "/"
on both Unix-alikes and on Windows (but
not on the former port to Classic Mac OS).
dynlib.extcharacter string, giving the file name extension of
dynamically loadable libraries, e.g., ".dll"
on
Windows and ".so"
or ".sl"
on Unix-alikes. (Note for
macOS users: these are shared objects as loaded by
dyn.load
and not dylibs: see dyn.load
.)
GUIcharacter string, giving the type of GUI in use, or "unknown"
if no GUI can be assumed. Possible values are for Unix-alikes the
values given via the -g command-line flag ("X11"
,
"Tk"
), "AQUA"
(running under R.app
on macOS),
"Rgui"
and "RTerm"
(Windows) and perhaps others under
alternative front-ends or embedded R.
endiancharacter string, "big"
or "little"
, giving the
‘endianness’ of the processor in use. This is relevant when it is
necessary to know the order to read/write bytes of e.g.an
integer or double from/to a connection: see
readBin
.
pkgTypecharacter string, the preferred setting for
options("pkgType")
. Values "source"
,
"mac.binary.el-capitan"
and "win.binary"
are currently
in use.
This should not be used to identify the OS.
path.sepcharacter string, giving the path separator,
used on your platform, e.g., ":"
on Unix-alikes and
";"
on Windows. Used to separate paths in environment
variables such as PATH
and TEXINPUTS
.
r_archcharacter string, possibly ""
. The name of an
architecture-specific directory used in this build of R.