page

Oct 25, 2019

R : EOF within quoted string - read.delim() vs read.table()

https://kbroman.org/blog/2017/08/08/eof-within-quoted-string/

read.table() uses quote="'\"" (that is, looking for either single- or double-quotes) read.delim() uses quote="\"" (just looking for double-quotes).


To solve quote problem,
In read.table(), use quote="", and for that matter also fill=FALSE 

No comments:

Post a Comment