Benjamin Otto wrote:> Hi,
>
>
>
> Given a pie chart with some really long labels can R insert line breaks
> here? Why I imagine is getting a label displayed as
>
>
>
>
>>some really extraordinary
>
>
>>long and non-ending label
>
>
>
>
> Instead of
>
>
>
>
>>some really extraordinary long and non-ending label
>
Hi Benjamin,
Try:
pie(1:4,labels=c("The first\nlong label",
"The second, even\nlonger label",
"The third, quite\nboring and\nstill longer\nlabel",
"The fourth, final\nflagrantly\nverbose and\nlongest label\nof the
lot"))
Jim