line.merge {iotools} | R Documentation |
Read lines for a collection of sources and merges the results to a single output.
line.merge(sources, target, sep = "|", close = TRUE)
sources |
A list or vector of connections which need to be merged |
target |
A connection object or a character string giving the output of the merge. If a character string a new file connection will be created with the supplied file name. |
sep |
string specifying the key delimiter. Only the first character
is used. Can be |
close |
logical. Should the input to sources be closed by the function. |
No explicit value is returned. The function is used purely for its side effects on the sources and target.
Simon Urbanek