Pastes data, either from clipboard or supplied argument, as a horizontally formatted character vector on a single line. Considers `,`, `tab`, `newline` as delimiters. If a single character string is passed as an argument, it will be split to form a vector.

vector_paste(input_vector, output_context = guess_output_context())

Arguments

input_vector

An input vector to be formatted for output. If supplied, no data is read from the clipboard.

output_context

an optional output context that defines the output target and indentation. The default behaviour is to target the rstudioapi and fall back to console if it is not available.

Value

nothing.