Description Usage Value AQUA See Also Examples
.Platform
is a list with some details of the platform under
which R was built. This provides means to write OS-portable R
code.
1 |
A list with at least the following components:
OS.type |
character string, giving the Operating System
(family) of the computer. One of |
file.sep |
character string, giving the file separator used on your
platform: |
dynlib.ext |
character string, giving the file name extension of
dynamically loadable libraries, e.g., |
GUI |
character string, giving the type of GUI in use, or |
endian |
character string, |
pkgType |
character string, the preferred setting for
This should not be used to identify the OS. |
path.sep |
character string, giving the path separator,
used on your platform, e.g., |
r_arch |
character string, possibly |
.Platform$GUI
is set to "AQUA"
under the OS X GUI,
R.app
. This has a number of consequences:
‘/usr/local/bin’ is appended to the PATH environment variable.
the default graphics device is set to quartz
.
selects native (rather than Tk) widgets for the graphics
= TRUE
options of menu
and select.list
.
HTML help is displayed in the internal browser.
the spreadsheet-like data editor/viewer uses a Quartz version rather than the X11 one.
R.version
and Sys.info
give more details
about the OS. In particular, R.version$platform
is the
canonical name of the platform under which R was compiled.
.Machine
for details of the arithmetic used, and
system
for invoking platform-specific system commands.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.