Print as comment

printComment(
  ...,
  prefix = c("##", "## >", "#'", "#' >", "#", "# >"),
  width = 80L
)

Arguments

...

Passthrough to print().

prefix

Comment prefix to use. RStudio, roxygen, and ESS prefixes are supported.

width

integer(1L). Desired output width. Defaults to 80 characters.

Value

Console output.

Note

Updated 2021-01-15.