Skip to main content

builtin_asis

Function builtin_asis 

Source
fn builtin_asis(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

I(x) — mark an object as “AsIs”, inhibiting conversion.

Adds class “AsIs” to the object. Used in formulas and data.frame() to prevent automatic type coercion.

@param x any R object @return x with class “AsIs” prepended @namespace base