Rdo_piecetag: Give information about Rd elements

Description Usage Arguments Details Author(s) See Also Examples

Description

Give information about Rd elements.

Usage

1
2
3
4
5

Arguments

name

the name of an Rd macro, a string.

x

the name of an Rd macro, a string.

Details

Rdo_piecetag gives the "Rd_tag" of the Rd macro name.

Rdo_sectype gives the "Rd_tag" of the Rd section x.

is_Rdsecname(name) returns TRUE if name is the name of a top level Rd section.

The information returned by these functions is obtained from the charater vectors Rdo_piece_types and Rdo_predefined_sections.

Author(s)

Georgi N. Boshnakov

See Also

Rdo_piece_types and Rdo_predefined_sections

Examples

1
2
3
4
5
6
7
Rdo_piecetag("eqn")  # ==> "VERB"
Rdo_piecetag("code") # ==> "RCODE"

Rdo_sectype("usage") # ==> "RCODE"
Rdo_sectype("title") # ==> "TEXT"

Rdo_sectype("arguments")


Search within the Rdpack package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.