Parses a raw vector as lines of text. This is similar to charToRaw but splits output by (platform specific) linebreaks and allows for marking output with a given encoding.

as_text(x, ...)

Arguments

x

vector to be converted to text

...

parameters passed to readLines such as encoding or n

See also

base::charToRaw