fn builtin_sprintf(
args: &[RValue],
_: &[(String, RValue)],
) -> Result<RValue, RError>Expand description
Format strings using C-style format specifiers, vectorized over arguments.
In R, sprintf(fmt, ...) is vectorized: if any argument is a vector of
length > 1, the result is a character vector of the same length (the
longest argument), with shorter arguments recycled.
@param fmt character scalar: format string with %d, %f, %s, etc. @param … values to substitute into the format string @return character vector containing the formatted results