title: How can I solve this error Error in FUN(X[[i]], ...)?
body: <p>I wanna have a scatterplot and I'm inserting this</p>
  
  <pre><code>ggplot(x, aes(x = pressure, y = Weight)) + geom_point()
  </code></pre>
  
  <p>but I'm getting this error message:</p>
  
  <blockquote>
    <p>Error in FUN(X[[i]], ...) : object 'Weight' not found</p>
  </blockquote>
  
  <p>My data:</p>
  
  <pre><code>x=data.frame(pressure=c(11.2,11.5,11,11.1,13,14),weight=c(70,75,67,73,100,120))
  </code></pre>