space: Insert HTML Space

Description Usage Arguments Details Examples

Description

Insert n iterations of HTML spacing into a document.

Usage

1
2
3
HS(n = 1, copy2clip = interactive())

VS(n = 1, copy2clip = interactive())

Arguments

n

Number of spaces to insert.

copy2clip

logical. If TRUE attempts to copy the output to the clipboard.

Details

HS returns horizontal space (using &nbsp;) and VS returns vertical space (using </br>).

Examples

1
2
3
paste0("reports", HS(10), "end")
cat(paste0("the", VS(), "end"))
cat(paste0("the", VS(3), "end"))

trinker/reports documentation built on May 31, 2019, 9:51 p.m.