title: Vector, ggplot2 doesn't know how to deal with data of class numeric
body: <p>I'm trying to make a simple boxplot with ggplot2. I've got a vector with numbers but when I type in the code an this error message appears: </p>
  
  <blockquote>
    <p>Error: ggplot2 doesn't know how to deal with data of class numeric. </p>
  </blockquote>
  
  <p>What does that mean? </p>
  
  <p>Code:</p>
  
  <pre><code>vector1 &lt;- c(x1, x2, x3, ...)
  library(ggplot2) 
  ggplot(vector1, aes(x=x, y=value)) + boxplot()
  </code></pre>