Displaying 1 result from an estimated 1 matches for "4a520ff7".
2006 Oct 31
1
graphics ignore tabs in text
Dear R-help,
I seem to recall that I can use "\t" to get tab in a string on a
graphics device, but it doesn't seem to work. Try:
lab <- "a\tb\tc"
cat(lab, "\n") # works in the console output
plot(1:5, main=lab) # no tabs in the title
text(3, 3, lab) # no tabs in the text
I get the same result both in the windows() and pdf() devices. Any
ideas?