Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels ignore \t character #1144

Closed
LindsayVass opened this issue Jun 19, 2015 · 1 comment
Closed

Labels ignore \t character #1144

LindsayVass opened this issue Jun 19, 2015 · 1 comment

Comments

@LindsayVass
Copy link

I originally encountered this problem when attempting to include \t in facet labels with a custom labeller, but after posting on StackOverflow, this appears to occur any time \t is included in a label.

ggplot(mtcars, aes(mpg, cyl)) + geom_point() + labs(x = "Tab\tneeded", y = "Newline\nneeded")

rplot

@hadley
Copy link
Member

hadley commented Jul 21, 2015

It doesn't look like R supports tab characters in graphics devices:

plot(1)
text(1, 1, "blah\tblah")

@hadley hadley closed this as completed Jul 21, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants