Hi:
The labeller functions have changed in version 2.x.y. What you need is
the .multi_line = FALSE argument in the revised labeller() function.
Here's an example using the mtcars data:
library(ggplot2)
ggplot(mtcars, aes(x = disp, y = mpg)) +
geom_point() +
facet_wrap(~ vs + am, label = labeller(.default = label_both,
.multi_line = FALSE))
Since you wanted label_both() for each strip label, I used it as the default.
Dennis
> --
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example:
>
https://github.com/hadley/devtools/wiki/Reproducibility
>
> To post: email
ggp...@googlegroups.com
> To unsubscribe: email
ggplot2+u...@googlegroups.com
> More options:
http://groups.google.com/group/ggplot2
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ggplot2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
ggplot2+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.