This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/attributes.html
attributes {base}R Documentation

Object Attribute Lists

Description

This function provides access to an object's attribute list. The simple form above returns the an object's attribute list. The assignment form makes the list on the right-hand side of the assignment, the object's attribute list.

Usage

attributes(obj)
attributes(obj) <- list

See Also

attr.

Examples

# strip an objects attributes
attributes(x) <- NULL

[Package base version 0.60 ]