View source: R/print_array_as_column.R
print_array_as_column | R Documentation |
Print each element of a vector on a new line, with commas
print_array_as_column(.array, .sep = ",", .quote = "\"")
.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. |
Nothing, this function is side-effect only.
library(hiRx)
print_array_as_column(c("foo", "bar", "baz"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.