readdir {beginr}R 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


[Package beginr version 0.1.7 Index]