View source: R/recordedplot-methods.R
architecture | R Documentation |
Get the architecture of an object or coerce it into another
architecture(x, ...) as.architecture( x, ostype = .Platform$OS.type, arch = R.version$arch, ptrsize = .Machine$sizeof.pointer, endian = .Platform$endian, ... )
x |
The object to be coerced. |
... |
(optional) Additional arguments passed to the underlying method. |
ostype |
A character string, e.g. |
arch |
A character string, e.g. |
ptrsize |
The target pointer size - either |
endian |
The target endianess - either |
architecture()
returns a named list with
character element ostype
and arch
,
integer element ptrsize
, and character element endian
.
These elements take a missing values if they could not be inferred.
as.architecture()
returns a coerced version of x
.
If no coercion was needed, then x
itself is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.