title: R read.table csv with classic-mac line endings
body: <p>I have a comma-separated value file that looks like this when I open it in vim:</p>
  
  <pre><code>12,31,50,,12^M34,23,45,2,12^M12,31,50,,12^M34,23,45,2,12^M
  </code></pre>
  
  <p>and so forth.  I believe this means my CSV uses CR-only (classic mac) line endings.  R's read.table() function ostensibly requires LF line endings, or some variant thereof.</p>
  
  <p>I know I can preprocess the file, and that's probably what I'll do.</p>
  
  <p>That solution aside: is there a way to import CR files directly into R?  For instance, write.table() has an "eol" parameter one can use to specify the line ending of outputs -- but I don't see a similar parameter for read.table() (cf. <a href="http://stat.ethz.ch/R-manual/R-patched/library/utils/html/read.table.html" rel="nofollow">http://stat.ethz.ch/R-manual/R-patched/library/utils/html/read.table.html</a>).</p>