-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement comment.char argument in fread #856
Comments
Need to ignore whole lines (starting with comment) as well as trailing comments after valid lines. |
Then update this question : http://stackoverflow.com/questions/18920777/fread-data-table-in-r/ |
Bump. Needing this right now. |
This comment has been minimized.
This comment has been minimized.
Actually
Also, not sure why isn't this an error? It make it harder to catch it with |
Interesting. Can you chase the comment and find an author and commit per |
Thanks. Which one can click on for
by Matt just one day ago (!!) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Bumping too. And if you want to skip only lines with hash at the beginning |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@ArthurPERE, from fread("https://github.com/Rdatatable/data.table/files/3162861/Proteome_spodo.as.pfam31.txt", skip = 29, fill = TRUE) with |
This comment has been minimized.
This comment has been minimized.
@ArthurPERE it is best to use a documentation as reference and defined behaviour. There you can also find there is no such a thing like AFAIR status of this FR or works on it are well reflected in comments. Be sure to upvote this FR so it will likely speed up its implementation, or at least prioritise. You are also welcome to submit a patch introducing such feature. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Following up on this, I'm open to helping develop and/or test this functionality in a future update |
@mjsteinbaugh you are very welcome, please submit PR |
There is still that error message that references
This is incredibly confusing since comment.char is not a parameter to fread. If there are no plans to actually implement it any time soon (I notice this ticket has been open for 10 years) I'd suggest removing the reference from that error message. |
We have a pending PR: #4486. It requires some love to get it over the line :) |
Similar to
read.table
.The text was updated successfully, but these errors were encountered: