Access or Modify Content or Metadata
Access or modify the content or metadata of R objects.
1 2 3 4
an R object.
a suitable R object.
a character string or
arguments to be passed to or from methods.
These are generic functions, with no default methods.
Often, classed R objects (e.g., those representing text documents in
packages NLP and tm) contain information that can be
grouped into “content”, metadata and other components, where
content can be arbitrary, and metadata are collections of tag/value
pairs represented as named or empty lists. The
meta() getters and setters aim at providing a consistent
high-level interface to the respective information (abstracting from
how classes internally represent the information).
meta() should return a named or empty list of
tag/value pairs if no tag is given (default), or the value for the
TextDocument for basic information on the text document
infrastructure employed by package NLP.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.