Skip to main content

Rf_dimnamesgets

Function Rf_dimnamesgets 

Source
unsafe fn Rf_dimnamesgets(vec: SEXP, val: SEXP) -> SEXP
Expand description

Set the dimnames attribute of an array/matrix.

Equivalent to R’s dimnames(vec) <- val syntax. The “gets” suffix indicates this is a setter function.

§Returns

Returns the modified vector. Checked wrapper for Rf_dimnamesgets. Calls Rf_dimnamesgets_unchecked and routes through with_r_thread. Generated from source location line 2538, column 8. Generated from source file miniextendr-api/src/ffi.rs.