fn builtin_as_r_boolean(
args: &[RValue],
_: &[(String, RValue)],
) -> Result<RValue, RError>Expand description
Convert to R boolean — used by grDevices and other internal code.
This is equivalent to as.logical(x)[[1]] — coerces to a scalar logical.
@param x object to coerce @return logical scalar @namespace base