

   comment {base}                               R Documentation

   QQuueerryy oorr SSeett aa ``CCoommmmeenntt'' AAttttrriibbuuttee

   DDeessccrriippttiioonn::

        These functions set and query a comment attribute for
        any R objects.  This is typically useful for
        `data.frame's or model fits.

        Contrary to other `attributes', the `comment' is not
        printed (by `print' or `print.default').

   UUssaaggee::

        comment(x)
        comment(x) <- value

   AArrgguummeennttss::

          x: any R object

      value: a `character' vector

   SSeeee AAllssoo::

        `attributes' and `attr' for ``normal'' attributes.

   EExxaammpplleess::

        x <- matrix(1:12, 3,4)
        comment(x) <- c("This is my very important data from experiment #0234",
                        "Jun 5, 1998")
        x
        comment(x)

