rd_code: Format Code

View source: R/format-rd.R

rd_codeR Documentation

Format Code

Description

Surround selected text with Rd markup for inline code.

Usage

rd_code()

Details

  • User-selected text: text

  • Result of function: \code{text}

  • Example output with no text selection: \code{}

References

The Writing R Extensions manual.


matt-dray/snorkel documentation built on Sept. 16, 2022, 8:22 p.m.