These options will be used on objects of type 'raw'.
Depending on constructor
, we construct the object as follows:
"charToRaw"
: UsecharToRaw()
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().
Arguments
- constructor
String. Name of the function used to construct the object.
- ...
Additional options used by user defined constructors through the
opts
object- trim
NULL
or integerish. Maximum of elements showed before it's trimmed. Note that it will necessarily produce code that doesn't reproduce the input. This code will parse without failure but its evaluation might fail.- fill
String. Method to use to represent the trimmed elements. See
?opts_atomic
- compress
Boolean. If
TRUE
instead ofc()
Useseq()
,rep()
when relevant to simplify the output.- representation
For "as.raw" constructor. Respectively generate output in the formats
as.raw(0x10)
oras.raw(16)