print_array_as_column: Print each element of a vector on a new line, with commas

View source: R/print_array_as_column.R

print_array_as_columnR Documentation

Description

Print each element of a vector on a new line, with commas

Usage

print_array_as_column(.array, .sep = ",", .quote = "\"")

Arguments

.array

<any>, a vector of values, probably string, but could be anything.

.sep

<chr>, optional, Delimiter to print before each new line. The default is a comma.

.quote

<chr>, optional, Character to wrap each item in. The default is a double quote.

Value

Nothing, this function is side-effect only.

Examples

library(hiRx)
print_array_as_column(c("foo", "bar", "baz"))

higherX4Racine/hiRx documentation built on Nov. 18, 2024, 10:20 a.m.