[R] Reading very large text files into R

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Thu Sep 29 16:09:16 CEST 2022


В Thu, 29 Sep 2022 14:54:10 +0100
Nick Wray <nickmwray using gmail.com> пишет:

> although most lines in the text doc consist of 15 elements, every so
> often there is a sixteenth one and R doesn’t like this and gives me
> an error message

Does the fill = TRUE argument of read.table() help?

If not, could you construct and share a small file with the same kind
of problem (16th field) but without the data one has to apply for
access to? (E.g. cut out a few lines from the original file, then
replace all digits.)

-- 
Best regards,
Ivan



More information about the R-help mailing list