getAttrib.Rd
Gets and Sets an Attribute of an R Object
getAttrib(vec, name)
setAttrib(vec, name, val)
getAttrib()
returns (SEXP) the value of attribute name
.
setAttrib()
returns (SEXP) a copy of R object vec
with attribute name
set.
(SEXP)
#include <Rinternals.h>
(SEXP vec, SEXP name)
SEXP getAttrib(SEXP vec, SEXP name, SEXP val) SEXP setAttrib