fn interp_read_lines(
args: &[RValue],
named: &[(String, RValue)],
context: &BuiltinContext<'_>,
) -> Result<RValue, RError>Expand description
Read text lines from a file path or a connection.
If con is a character string, reads directly from that file path.
If con is an integer with class “connection”, reads from the
connection’s stored file path or TCP socket.
@param con character scalar or connection integer: source to read from @param n integer scalar: maximum number of lines to read (-1 for all) @return character vector with one element per line