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-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 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@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. ______________________________________________ R-help@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.