Skip to main content

Rf_list4

Function Rf_list4 

Source
pub unsafe fn Rf_list4(s: SEXP, t: SEXP, u: SEXP, v: SEXP) -> SEXP
Expand description

Build a pairlist with 4 elements.

Rust equivalent of R’s inline Rf_list4(s, t, u, v).

§Safety

  • All SEXPs must be valid
  • Must be called from R’s main thread
  • Result must be protected from GC