Skip to main content

builtin_read_table

Function builtin_read_table 

Source
fn builtin_read_table(
    args: &[RValue],
    named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Read a whitespace- or delimiter-separated table from a file.

@param file character scalar: path to the file @param header logical: does the file have a header row? (default FALSE) @param sep character scalar: field separator (default: whitespace) @return data.frame (list of columns) with columns coerced to numeric where possible