set_output {surveytable}R Documentation

Set output defaults

Description

show_output() shows the current defaults.

Usage

set_output(csv = NULL, max_levels = NULL)

show_output()

Arguments

csv

name of a CSV file or "" to turn off CSV output

max_levels

a categorical variable can have at most this many levels. Used to avoid printing huge tables.

Value

(Nothing.)

See Also

Other options: set_count_1k(), show_options(), surveytable-options

Examples

tmp_file = tempfile(fileext = ".csv")
suppressMessages( set_output(csv = tmp_file) )
set_output(csv = "") # Turn off CSV output

[Package surveytable version 0.9.2 Index]