Hadley大神写的又一神器,可以方便的读入输出文本数据,且速度远远超过传统的函数。
读入数据
可以自动将文本数据读入为字符串格式,不需要设置factorAsString = FALSE
1. read_csv Read a delimited file (including csv & tsv) into a tibble
2. read_csv2 Read a delimited file (including csv & tsv) into a tibble
3. read_table Read whitespace-separated columns into a tibble
4. read_table2 Read whitespace-separated columns into a tibble
5. read_tsv Read a delimited file (including csv & tsv) into a tibble