Re: [R] EOF error reading csv file

2014-06-22 Thread S N V Krishna
AM To: Chitra Baniya; S N V Krishna; r-help@r-project.org Subject: RE: [R] EOF error reading csv file The error message "EOF within quoted string" is telling you have an unbalanced " or ' in the .csv file. - David L Carlson Department

Re: [R] EOF error reading csv file

2014-06-22 Thread David L Carlson
- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Chitra Baniya Sent: Saturday, June 21, 2014 7:15 PM To: kris...@primps.com.sg; r-help@r-project.org Subject: [R] EOF error reading csv file Can someone go through the same and suggest what I am missing o

Re: [R] EOF error reading csv file

2014-06-21 Thread Jim Lemon
On Sun, 22 Jun 2014 06:00:19 AM Chitra Baniya wrote: > Can someone go through the same and suggest what I am missing out. > > > cftc = read.table("cftcdata_ncn.csv", sep = ',', header = TRUE, fill = > > TRUE) > Warning message: > In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.string

[R] EOF error reading csv file

2014-06-21 Thread Chitra Baniya
Can someone go through the same and suggest what I am missing out. > cftc = read.table("cftcdata_ncn.csv", sep = ',', header = TRUE, fill = TRUE) 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 wi

Re: [R] EOF error reading csv file

2014-06-20 Thread Jim Holtman
it looks like you have unbalanced quotes in the line containing: DELIVERED/BUYER'S INDEX try putting the option quotes = '' Sent from my iPad On Jun 20, 2014, at 6:02, S N V Krishna wrote: > DELIVERED/BUYER'S INDEX __ R-help@r-project.org mailing

[R] EOF error reading csv file

2014-06-20 Thread S N V Krishna
Hi, I am confronted with this error while trying to read csv file into R session. Though it is warning message, I noticed that the whole file was not read properly. After having gone through the whole file, unable to identify error in file. I am copying the last 2 rows in original csv file after