Re: [R] latex expression

From: Charles C. Berry <>
Date: Tue 03 Oct 2006 - 21:16:07 GMT

On Tue, 3 Oct 2006, Joe Moore wrote:

> Dear All:
> I try to use latex expression in legend, but I am not very clear on the
> detail rules in R. I remeber there is a R help page list all rules and many
> examples, but I forget what should I type (?xxx) to get this help page. Could
> you please remind me which function should I type?

Use the function 'help'


As in

         help( "legend" )

which usefully suggests:

See Also

[...] text for more examples of math expressions.

in addition to providing examples of how to use math expresisons in legend()

Following the suggestion under 'See Also', one find more examples of how to use math expressions as well as this:

See Also

[...] plotmath for details and more examples on mathematical annotation.

The advice in the posting guide, which you are asked to read before posting to r-help, says:

         Read the online help for relevant functions

to which I might add, run and examine the examples.


         example( legend )

         example( text )


[ rest deleted]


Charles C. Berry                        (858) 534-2098
                                          Dept of Family/Preventive Medicine
E	         UC San Diego         La Jolla, San Diego 92093-0717

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed Oct 04 07:32:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 03 Oct 2006 - 22:30:06 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.