[R] EOF error reading csv file
S N V Krishna
krishna at primps.com.sg
Mon Jun 23 03:59:21 CEST 2014
Thanks for the suggestions. It is the problem with that particular name which has single ' in it. I renamed and able to load the file.
From: David L Carlson [mailto:dcarlson at tamu.edu]
Sent: Monday, June 23, 2014 12:29 AM
To: Chitra Baniya; S N V Krishna; r-help at 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 of Anthropology
Texas A&M University
College Station, TX 77840-4352
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Chitra Baniya
Sent: Saturday, June 21, 2014 7:15 PM
To: krishna at primps.com.sg; r-help at r-project.org
Subject: [R] EOF error reading csv file
Can someone go through the same and suggest what I am missing out.
> cftc = read.table("cftcdata_ncn.csv", sep = ',', header = TRUE, fill =
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.
*Chitra Bahadur Baniya, PhDAssociate ProfessorCentral Department of BotanyTribhuvan UniversityKirtipurKathmandu, Nepal*
[[alternative HTML version deleted]]
R-help at r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help