Read multiple tables into a list.
readdir(mydir = getwd(), sep = c(","), output = c("list", "data.frame"), header = TRUE, skip = 0)
| 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. |
a list or a data frame