Skip to main content

interp_file

Function interp_file 

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

Create a file connection.

Returns an integer connection ID with class “connection”. The connection is not opened unless open is non-empty.

@param description character scalar: file path @param open character scalar: open mode (“” means unopened, “r”, “w”, etc.) @return integer scalar with class “connection”