[R] EOF error reading csv file

David L Carlson dcarlson at tamu.edu
Sun Jun 22 18:29:02 CEST 2014


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

-----Original Message-----
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 =
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 with function read.csv instead of
read.table.
Thanks








*Chitra Bahadur Baniya, PhDAssociate ProfessorCentral Department of
BotanyTribhuvan UniversityKirtipurKathmandu, Nepal*

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
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.



More information about the R-help mailing list