\Header{comment}{Query or Set a `Comment' Attribute}
\alias{comment<\Rdash}{comment}
\keyword{attribute}{comment}
\begin{Description}\relax
These functions set and query a \emph{comment}
attribute for any \R{} objects.  This is typically useful for
\code{\Link{data.frame}}s or model fits.

Contrary to other \code{\Link{attributes}}, the \code{comment} is not
printed (by \code{\Link{print}} or \code{\Link{print.default}}).\end{Description}
\begin{Usage}
\begin{verbatim}
comment(x)
comment(x) <- value
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] any \R{} object
\item[\code{value}] a \code{character} vector
\end{ldescription}
\end{Arguments}
\begin{SeeAlso}\relax
\code{\Link{attributes}} and \code{\Link{attr}} for ``normal'' attributes.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
x <- matrix(1:12, 3,4)
comment(x) <- c("This is my very important data from experiment #0234",
                "Jun 5, 1998")
x
comment(x)
\end{ExampleCode}
\end{Examples}

