print_var_vector: Print a readable summary of a list of values.

View source: R/prog_utils.R

print_var_vectorR Documentation

Print a readable summary of a list of values.

Description

This is useful for printing out a list of the parsed command-line arguments for a script. The output is generally more compact than print() or str().

Usage

print_var_vector(v)

Arguments

v

A named list or vector

Value

Returns v invisibly.

Examples


x <- list(verbose = TRUE, infile = "a.txt", outfile = "b.txt", ncores = 8)
print_var_vector(x)


DarwinAwardWinner/rctutils documentation built on July 22, 2022, 5:19 a.m.