[R] Line spacing in graphics

Peter Langfelder peter.langfelder at gmail.com
Sat Feb 19 01:35:16 CET 2011


On Fri, Feb 18, 2011 at 3:55 PM, Sarah Goslee <sarah.goslee at gmail.com> wrote:
> Peter,
>
> Try par()$lheight
>
> The catch is, you need to set it *before* the call to text()
>
> par(lheight=.8) # closer together
> text(x, y, "whatever\nsecondline")
>
> The best place to find options like lheight is in ?par

Thanks - I had looked at ?par but missed it :)

Peter



More information about the R-help mailing list