Learn R Programming

pubprint (version 0.2.1)

pp_opts: General options for the pubprint package

Description

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

Usage

pp_opts

Arguments

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

Run this code
pp_opts$set(nsmall = 3)
pp_opts$set(nsmall = 3, removeItems = FALSE)
pp_opts$get("nsmall")
pp_opts$get()

Run the code above in your browser using DataLab