Skip to main content

Rf_allocLang

Function Rf_allocLang 

Source
pub unsafe fn Rf_allocLang(n: c_int) -> SEXP
Expand description

Allocate a language object. Requires R >= 4.4.1; the portable crate::gc_protect::ProtectScope::alloc_lang also supports R 4.4.0. Checked wrapper for Rf_allocLang. Calls Rf_allocLang_unchecked inside with_r_thread, which panics off R’s main thread. Generated from source location line 483, column 12. Generated from source file miniextendr-api/src/sys.rs.