Wrap Text With Courier New Font Tag

Usage

CN(text = "clipboard", copy2clip = TRUE)

Arguments

text
character vector or text copied to the clipboard. Default is to read from the clipboard.
copy2clip
logical. If TRUE attempts to copy the output to the clipboard.

Value

Returns a character vector wrapped with a courier new font tag.

Description

Wraps text with a courier new font tag. A specified version of QF but more convient for constant use of courier new tags.

Warning

Ligatures parsing is very good, however, these elements my be incorrect. If a warning is thrown check the use of "ff", "fi", "fl", "ffi" and "ffl".

Examples

CN("new_report()")
[1] "new_report()