Learn R Programming

qreport (version 1.0-1)

rwrap: rwrap

Description

Protecting Backticks for Illustrating In-line R Code

Usage

rwrap(x)

Value

x surrounded by backtick r and backtick

Arguments

x

a character string

Author

Frank Harrell

Details

This function pastes back ticks around a string so those extra back ticks don't have to appear in the user's code in a report. This prevents Quarto from intervening.

Examples

Run this code
rwrap('pi')

Run the code above in your browser using DataLab