R: Merge multiple sources

line.merge {iotools} | R Documentation

## Merge multiple sources

### Description

Read lines for a collection of sources and merges the results to a single output.

### Usage

    line.merge(sources, target, sep = "|", close = TRUE)

### Arguments

`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 `""` if the entire string is to be treated as a key.
`close` | logical. Should the input to sources be closed by the function.

### Value

No explicit value is returned. The function is used purely for its side effects on the sources and target.

### Author(s)

Simon Urbanek

[Package iotools version 0.2-5 Index]