Learn R Programming

rapport (version 0.31)

get.tags: Tag Values

Description

Returns report tag vales (usually regexes): either user-defined, or the default ones.

Usage

get.tags(tag.type = c("all", "chunk.open", "chunk.close", "inline.open", "inline.close", "header.open", "header.close", "comment.open", "comment.close"),
    preset = c("user", "default"))

Arguments

tag.type
a character value with tag value name
preset
a character value specifying which preset to return

Value

  • either a list (default) or a character value with tag regexes

Details

Default parameters are read from options:

  • 'chunk.open',
  • 'chunk.close',
  • 'inline.open',
  • 'inline.close',
  • 'header.open',
  • 'header.close',
  • 'comment.open',
  • 'comment.close'.

Examples

Run this code
get.tags()        # same as 'get.tags("all")'
get.tags("chunk.open")

Run the code above in your browser using DataLab