Skip to main content

Rf_lengthgets

Function Rf_lengthgets 

Source
pub unsafe fn Rf_lengthgets(x: SEXP, newlen: R_xlen_t) -> SEXP
Expand description

Set vector length.

For short vectors (length < 2^31). Checked wrapper for Rf_lengthgets. Calls Rf_lengthgets_unchecked inside with_r_thread, which panics off R’s main thread. Generated from source location line 2657, column 12. Generated from source file miniextendr-api/src/sys.rs.