Skip to main content

R_ParseVector_unchecked

Function R_ParseVector_unchecked 

Source
pub unsafe extern "C-unwind" fn R_ParseVector_unchecked(
    text: SEXP,
    n: c_int,
    status: *mut ParseStatus,
    srcfile: SEXP,
) -> SEXP
Expand description

Parse R source text into an EXPRSXP (a list of parsed expressions).

text is a STRSXP holding the source, n is the number of expressions to parse (-1 for all), status receives the ParseStatus outcome, and srcfile is a srcref/R_NilValue. Allocates; protect the result.

Prefer the safe crate::expression::r_eval_str wrapper, which does the STRSXP construction, status check, and protection bookkeeping for you. Unchecked FFI binding for R_ParseVector. Generated from source location line 953, column 12. Generated from source file miniextendr-api/src/sys.rs.