length.one.as.vector
A logical vector of length one providing the default behavior when setting an R vector of length one. If TRUE
, setting a vector of length one in the interpreter will result in an array of length one. If FALSE
, setting a vector of length one results in an atomic value. For example, pi
is a vector of length one in R and, when set in an interpreter, would result in an array of doubles of length one if length.one.as.vector is TRUE
or a double if length.one.as.vector is FALSE
.
The default behavior set here can be overridden for a particular function call.