opts_raw | R Documentation |
These options will be used on objects of type 'raw'.
Depending on constructor
, we construct the object as follows:
"as.raw"
(default): Use as.raw()
, or raw()
when relevant
"charToRaw"
: Use charToRaw()
on a string, if the a raw vector contains
a zero we fall back to the "as.raw" constructor.
To set options on all atomic types at once see opts_atomic().
opts_raw(
constructor = c("as.raw", "charToRaw"),
...,
trim = NULL,
fill = c("default", "rlang", "+", "...", "none"),
compress = TRUE,
representation = c("hexadecimal", "decimal")
)
constructor |
String. Name of the function used to construct the object. |
... |
Additional options used by user defined constructors through the |
trim |
|
fill |
String. Method to use to represent the trimmed elements. See |
compress |
Boolean. If |
representation |
For "as.raw" constructor. Respectively generate output
in the formats |
An object of class <constructive_options/constructive_options_raw>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.