You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For files with multiple column rows, read_csv errors out even if i tell it not to read the rows with different columns using n_max. For eg
read_csv('param1, param2, param3
2, 3, "a"
var1, var2, var3, var4, var5
"a", 3,5,"b",6',
n_max = 1)
Error: You have 3 column names, but 5 columns
It should read the first line as a header and the next line as the data and shouldn't go any further.
If i use skip = 2 so the first two lines are skipped then it works as expected. It read the third line as header and fourth as data
read.csv from base r has no problems reading the file with nrows = 1
The text was updated successfully, but these errors were encountered:
For files with multiple column rows, read_csv errors out even if i tell it not to read the rows with different columns using n_max. For eg
It should read the first line as a header and the next line as the data and shouldn't go any further.
If i use skip = 2 so the first two lines are skipped then it works as expected. It read the third line as header and fourth as data
read.csv from base r has no problems reading the file with nrows = 1
The text was updated successfully, but these errors were encountered: