pub unsafe fn Rf_classgets(vec: SEXP, klass: SEXP) -> SEXPExpand description
Set the class attribute of a vector.
Equivalent to R’s class(vec) <- klass syntax.
The “gets” suffix indicates this is a setter function.
§Returns
Returns the modified vector (like all “*gets” functions).
Checked wrapper for Rf_classgets. Calls Rf_classgets_unchecked inside with_r_thread, which panics off R’s main thread.
Generated from source location line 892, column 12.
Generated from source file miniextendr-api/src/sys.rs.