title: Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 2 elements
body: <pre><code>examdata &lt;- RCurl::getURL("https://raw.githubusercontent.com/jrwolf/IT497/master/spendingdata.txt")
  
  examdata2 &lt;- read.table(textConnection(examdata), sep = ",", header = T)
  </code></pre>
  
  <blockquote>
    <p>Error in scan(file, what, nmax, sep, dec, quote, skip, nlines,
    na.strings,  :    line 1 did not have 2 elements</p>
  </blockquote>