Rev 25118 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{comment}\title{Query or Set a `Comment' Attribute}\usage{comment(x)comment(x) <- value}\alias{comment}\alias{comment<-}\arguments{\item{x}{any \R object}\item{value}{a \code{character} vector}}\description{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 notprinted (by \code{\link{print}} or \code{\link{print.default}}).}\seealso{\code{\link{attributes}} and \code{\link{attr}} for \dQuote{normal}attributes.}\examples{x <- matrix(1:12, 3,4)comment(x) <- c("This is my very important data from experiment #0234","Jun 5, 1998")xcomment(x)}\keyword{attribute}