[R] EOF error reading csv file

Jim Lemon jim at bitwrit.com.au
Sun Jun 22 02:35:01 CEST 2014

On Sun, 22 Jun 2014 06:00:19 AM Chitra Baniya wrote:
> Can someone go through the same and suggest what I am missing 
> > cftc = read.table("cftcdata_ncn.csv", sep = ',', header = TRUE, fill =
> Warning message:
> In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  :
>   EOF within quoted string
> Hi, I guessed you have also tried with function read.csv instead of
> read.table.

Hi Chitra,
Perhaps you have an isolated single quote somewhere in the file, as in 
the name O'Rourke.


More information about the R-help mailing list