- Hands-On Exploratory Data Analysis with R
- Radhika Datar Harish Garg
- 76字
- 2025-04-04 14:18:26
read_table method
If you have text files with tabular data that you read and the columns are separated by one or more columns of space, then read_table is the method to use:
read_table("table.csv")
There are two versions of this method:
- read_table(): This should be used when each line of data is of the same length and each column is in the same position
- read_table2(): This is more flexible in terms of line length and column position