readdir: Read multiple tables into a list.

View source: R/beginr.R

readdirR Documentation

Read multiple tables into a list.

Description

Read multiple tables into a list.

Usage

readdir(mydir = getwd(), sep = c(","), output = c("list",
  "data.frame"), header = TRUE, skip = 0)

Arguments

mydir

the folder path

sep

the field separator character.

output

the type of the output. 'list' or 'data.frame'.

header

logical. Indicating whether the file contains the names of the variables as its first line.

skip

the number of lines of the data file to skip before beginning to read data.

Value

a list or a data frame


pzhaonet/beginr documentation built on July 19, 2023, 1:57 p.m.