Skip to main content

XLENGTH

Function XLENGTH 

Source
pub unsafe fn XLENGTH(x: SEXP) -> R_xlen_t
Expand description

Get the length of a SEXP as R_xlen_t (supports long vectors).

ALTREP-aware: will call ALTREP Length method if needed. Checked wrapper for XLENGTH. Calls XLENGTH_unchecked inside with_r_thread, which panics off R’s main thread. Generated from source location line 595, column 12. Generated from source file miniextendr-api/src/sys.rs.