On Jun 3, 2011, at 12:18 PM, Matthew DeAngelis wrote:
Hi all,
Is there any way to add notes or comments to R objects?
I just suggested attributes(), but then I remembered that there is a
specific function named unsurprisingly:
?comment # a non-printed attribute
Maybe you need to also learn some searching strategies to try before
posting. I wouldn't have expected you to know the 'attributes' or
'attr' function names, but if you searched on just the words you were
using you would have gotten useful results.
It can be hard for
me to come up with a descriptive name that encapsulates all the
differences
between data sets, so it would be very helpful if I could add a note
which
described the object. I didn't find anything like this in the R docs.
--
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.