\Header{attributes}{Object Attribute Lists}
\alias{attributes$\leftarrow $}{attributes}
\keyword{attribute}{attributes}
\begin{Usage}
\begin{verbatim}
attributes(obj)
attributes(obj) <- list
\end{verbatim}
\end{Usage}
\begin{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.\end{Description}
\begin{SeeAlso}
\texttt{\Link{attr}}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
x <- cbind(a=1:3, pi=pi) # simple matrix w/ dimnames
attributes(x)

# strip an objects attributes:
attributes(x) <- NULL
x # now just a vector of length 6
\end{ExampleCode}
\end{Examples}

