[R] ylab with an exponent

stephen sefick ssefick at gmail.com
Fri Aug 15 18:26:14 CEST 2008

plot(1,2, ylab= paste("insects", expression(m^2), sep=" "))

I get insects m^2
I would like m to the 2

what is the problem?

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

	-K. Mullis

More information about the R-help mailing list