title: R: change bar labels in geom_bar
body: <p>Below is my data:</p>
  
  <pre><code>library(ggplot2)  
  myData &lt;- data.frame(
    x = c("windows", "macos", "html5"),
    y = c(15, 56, 34)
  )
  
  
  ggplot(myData, aes(x=x, y=y)) + 
    geom_bar(stat="identity", width = 0.5)
  </code></pre>
  
  <p>And my resulted plot:
  <a href="https://i.stack.imgur.com/ls3Wd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ls3Wd.png" alt="enter image description here"></a></p>
  
  <p>I would like to change the bar names to <code>Windows</code>, <code>MacOS</code>, <code>HTML5</code>. How do I configure that with <code>ggplot</code>? (Note that I can't change the original data)</p>