В Thu, 29 Sep 2022 14:54:10 +0100
Nick Wray <nickmw...@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

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to