Insert HTML Space

Usage

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.

Description

Insert n iterations of HTML spacing into a document.

Details

HS returns horizontal space (using  ) and VS returns vertical space (using
).

Examples

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


end