fn builtin_format_c(
args: &[RValue],
named: &[(String, RValue)],
) -> Result<RValue, RError>Expand description
Formatted printing of numbers and strings, similar to C’s printf family.
@param x numeric or character vector to format @param width integer: minimum field width (default 0, meaning no padding) @param format character: one of “d” (integer), “f” (fixed), “e” (scientific), “g” (general), “s” (string). Default: “g” for numeric, “s” for character. @param flag character: formatting flags — “-” left-justify, “+” always show sign, “ “ leading space for positive numbers, “0” zero-pad. Default: “” @param digits integer: number of significant or decimal digits (depends on format). Default: 6. @return character vector of formatted values