Learn R Programming

Rd (version 0.2.0)

Rd_tag: Create an Rd tag container

Description

Rd_tag containers can contain, strings, Rd containers and other tags.

Usage

Rd_tag(tag, ..., content = Rd(...), opt = NULL,
  indent = getOption("Rd::indent", FALSE),
  indent.with = getOption("Rd::indent.with", "  "), .check = NA,
  verbose = getOption("Rd::verbose", getOption("verbose", FALSE)))

Arguments

tag

The Rd/LaTeX tag to use. Must start with the backslash.

..., content

The content specified in individual form or list form. Either may be used but not both.

opt

Options for the tag which as placed in square brackets.

indent

Should content inside the tag be indented?

indent.with

Amount to indent with, defaults to four spaces.

.check

Should the content be checked for valid Rd and if options are valid? A value of FALSE indicates no checking, TRUE strict checking and NA convert where possible, with messages and warnings.

verbose

Print informational messages.

See Also

Other construction: Rd_string_creation, Rd

Examples

Run this code
# NOT RUN {
Rd_tag("\\bold", Rd_text("Bolded text."))
# }

Run the code above in your browser using DataLab