[R] margin text warning message NAs coercion

Peter Ehlers ehlers at ucalgary.ca
Tue Feb 16 18:06:27 CET 2010


On 2010-02-16 9:21, e-letter wrote:
> Readers,
>
> I tried to the following commands:
>
> plot(y~x,ylab=expression(A[1]~B[2],xlab=expression(C~D))
> mtext(expression(A[1]~B[2]),"additional text",side=3,line=1)

Your plot() call is not reproducible.

Anyway, try

mtext(expression(A[1]~B[2]~~"additional text"),side=3,line=1)

  -Peter Ehlers

>
> I receive the text that I want, but the command terminal shows the
> following response:
>
> Warning message:
> NAs introduced by coercion in: mtext(expression(A[1]~B[2]),"additional
> text", side = 3,
>
> What is my mistake please?
>
> Yours,
>
> r251
> rhelpatconference.jabber.org
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>

-- 
Peter Ehlers
University of Calgary
403.202.3921



More information about the R-help mailing list