pp_opts: General options for the pubprint package

Description Usage Format Details Examples

Description

Options including how many decimal places are used, whether to remove items when pulling them, etc.

Usage

1

Format

A list with a get and set function.

Details

Set global options with pp_opts$set() and get your options with pp_opts$get().

nsmall:

controls the number of digits to print when printing numeric values.

delimiter:

delimiter between items.

removeItems:

controls whether items are removed when pulling them. Either a logical, "memory" or "pipe". See pull.pubprint for more details.

mmode:

controls whether output is set in math mode.

brackets:

controls which brackets are used.

separator:

controls whether a separator between content and pubprint output is printed.

Examples

1
2
3
4
pp_opts$set(nsmall = 3)
pp_opts$set(nsmall = 3, removeItems = FALSE)
pp_opts$get("nsmall")
pp_opts$get()

pubprint documentation built on May 29, 2017, 2:55 p.m.