Align axis label on the right with ggplot2
<p>Consider the following</p>

<pre><code>d = data.frame(y=rnorm(120), 
               x=rep(c("bar", "long category name", "foo"), each=40))

ggplot(d,aes(x=x,y=y)) + 
    geom_boxplot() + 
    theme(axis.text.x=element_text(size=15, angle=90))
</code></pre>

<p><a href="https://i.stack.imgur.com/sOTj7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sOTj7.png" alt="plot with poorly aligned labels"></a></p>

<p>The x-axis labels are aligned by the center of the label. Is it possible to automatically align on the right so that every label would end right below the graph?</p>