Formatting dates with scale_x_date in ggplot2
With the new ggplot2 v 2.0.0, a way to do it is :
scale_x_date(date_breaks = "1 month", date_minor_breaks = "1 week",
date_labels = "%B")
Nevermind, the answer was to use the version found in the documentation,
scale_x_date(breaks = "1 month", minor_breaks = "1 week", labels=date_format("%B")) +
And to include library(scales)
as the documentation says.