title: ggplot - reformatting scale from exponent form and transforming by dividing by constant
body: <p>I want to both transform the exponent notation of ggplot2 axis labels and apply a transformation. The labels=commma gives me regular, non-exponent numbers, but I would like to add a transformation so the y axis ticks are in the thousands, not millions.</p>
  
  <pre><code>library(ggplot2)
  library(scales)
  fy &lt;- c("FY09 Q4", "FY09 Q3", "FY09 Q2", "FY09 Q1")
  views &lt;- c(15881100,  8888000, 24168000, 17611000)
  df &lt;- data.frame(FY=fy, views=views)
  g &lt;- ggplot(df, aes(x=FY, y=views))
  g &lt;- g + geom_bar(stat="identity")
  g &lt;- g + scale_y_continuous(labels = comma)
  print(g)
  </code></pre>