[R] New line operator in mtext

Steve Murray smurray444 at hotmail.com
Mon Jun 22 12:56:48 CEST 2009


Dear R Users,

I'm finding that when I execute the following bit of code, that the new line argument is actually displayed as text in the graphics device. How do I avoid this happening?

mtext(side=2, line=5.5, expression(paste("Monthly Summed Runoff (mm/month)", "/n", "and Summed Monthly Precipitation (mm x  ",10^2,"/month)")))


I suspect that I've done, or omitted, something fairly obvious, but as yet cannot see it!

Thanks for your help,

Steve




More information about the R-help mailing list