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
A common problem when moving data from excel to R is that excel leaves commas in numbers if the user is not careful. Would it be possible to, as the data is being read through in fread, if the past X rows were numeric and the newest row has a comma, strip the comma and continue with the column being numeric?
I was thinking something similar to this stackoverflow answer
The user could have an option commaNumeric = TRUE such that when true fread will rip commas out of columns it has already declared numeric after the first 30 rows or so.
P.S. thanks for the package, it's really wonderful!
The text was updated successfully, but these errors were encountered:
A common problem when moving data from excel to R is that excel leaves commas in numbers if the user is not careful. Would it be possible to, as the data is being read through in fread, if the past X rows were numeric and the newest row has a comma, strip the comma and continue with the column being numeric?
I was thinking something similar to this stackoverflow answer
The user could have an option
commaNumeric = TRUE
such that when true fread will rip commas out of columns it has already declared numeric after the first 30 rows or so.P.S. thanks for the package, it's really wonderful!
The text was updated successfully, but these errors were encountered: