read.tables: Read and concatenate tables

Description Usage Arguments Details Value Examples

Description

Read and concatenate tables

Usage

1
2
3
read.tables(files, sep = NULL, ncore = 1L, header = TRUE,
  colClasses = "character", verbose = TRUE, check.names = FALSE,
  comment.char = "#", ...)

Arguments

files

Files with tables to be read and concatenated

sep

Field separator in input tables

ncore

Number of cores to use in parallel

header

See documentation of read.table

colClasses

See documentation of read.table

verbose

If TRUE, report progress while running

check.names

See documentation of read.table

comment.char

See documentation of read.table

...

Passed on to read.table

Details

If not explicitly specified, the field separator will be inferred from the first non-comment, non-empty line of one of the input files. Possible candidates are tab, comma, semicolon, single space. They will be tested in the above order. The first candidate found will become the field separator. The field separator must be the same for all input files.

Value

A data frame that results from concatenating all input tables.

Examples

1
2
3
4
## Not run: 
read.tables(paste0("table", 1:100, ".txt"), ncore = 10L)

## End(Not run)

cbaumbach/miscFun documentation built on May 13, 2019, 1:48 p.m.