title: read.csv warning 'EOF within quoted string' prevents complete reading of file
body: <p>I have <a href="http://www.filedropper.com/citations">a CSV file (24.1 MB)</a> that I cannot fully read into my R session. When I open the file in a spreadsheet program I can see 112,544 rows. When I read it into R with <code>read.csv</code> I only get 56,952 rows and this warning:</p>
  
  <pre><code>cit &lt;- read.csv("citations.CSV", row.names = NULL, 
                  comment.char = "", header = TRUE, 
                  stringsAsFactors = FALSE,  
                  colClasses= "character", encoding= "utf-8")
  
  Warning message:
  In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  :
    EOF within quoted string
  </code></pre>
  
  <p>I can read the whole file into R with <code>readLines</code>:</p>
  
  <pre><code>rl &lt;- readLines(file("citations.CSV", encoding = "utf-8"))
  length(rl)
  [1] 112545
  </code></pre>
  
  <p>But I can't get this back into R as a table (via <code>read.csv</code>):</p>
  
  <pre><code>write.table(rl, "rl.txt", quote = FALSE, row.names = FALSE)
  rl_in &lt;- read.csv("rl.txt", skip = 1, row.names = NULL)
  
  Warning message:
  In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  :
    EOF within quoted string
  </code></pre>
  
  <p>How can I solve or workaround this EOF message (which seems to be more of an error than a warning) to get the entire file into my <code>R</code> session?</p>
  
  <p>I have similar problems with other methods of reading CSV files:</p>
  
  <pre><code>require(sqldf)
  cit_sql &lt;- read.csv.sql("citations.CSV", sql = "select * from file")
  require(data.table)
  cit_dt &lt;- fread("citations.CSV")
  require(ff)
  cit_ff &lt;- read.csv.ffdf(file="citations.CSV")
  </code></pre>
  
  <p>Here's my sessionInfo()</p>
  
  <pre><code>R version 3.0.1 (2013-05-16)
  Platform: x86_64-w64-mingw32/x64 (64-bit)
  
  locale:
  [1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
  [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
  [5] LC_TIME=English_United States.1252    
  
  attached base packages:
  [1] tools     tcltk     stats     graphics  grDevices utils     datasets  methods   base     
  
  other attached packages:
   [1] ff_2.2-11             bit_1.1-10            data.table_1.8.8      sqldf_0.4-6.4        
   [5] RSQLite.extfuns_0.0.1 RSQLite_0.11.4        chron_2.3-43          gsubfn_0.6-5         
   [9] proto_0.3-10          DBI_0.2-7   
  </code></pre>