title: Error: unexpected ',' in "ggplot(dat in R
body: <p>I am simply trying to read in a CSV file using R and create a scatterplot using ggplot. I have done this before with no problems when using different files, but this current one is giving me problems</p>
  
  <p>All I'm doing is entering the commands below:</p>
  
  <pre><code>dat&lt;-read.csv("IV.csv")
  head(dat)
       a        b
  1 -80.2502 -1.24274
  2 -80.2034 -1.27208
  3 -80.1567 -1.06815
  4 -80.1100 -1.33416
  5 -80.0165 -1.67727
  6 -79.9698 -1.32458
  
  ggplot(dat, aes=(x=a,y=b)) + geom_point(shape=1)
  Error: unexpected ',' in "ggplot(dat, aes=(x=a,"
  </code></pre>
  
  <p>What is going on?</p>