[R] Syntax of Math Text

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Dec 30 09:55:46 CET 1998


On 29 Dec 1998, Douglas Bates wrote:

> >>>>> "Charles" == cfleming  <cfleming at pressroom.com> writes:
> 
>   Charles> I am looking for a reference that describes the syntax for
>   Charles> putting mathematical text on a plot. I managed to discover
>   Charles> some of the syntax in the manual pages for "text", "title",
>   Charles> and "legend". In particular, I am looking for the syntax
>   Charles> for making subscripts. I did not have much luck searching
>   Charles> the S-news archives and http://stat.ethz.ch/R/manual/.

You are not likely to find this in S-news: it is an faq (literally, hance
no caps) there, but the answers are different. One answer for S-PLUS -- use
psfrag and incorporate the figures in a LaTeX document -- is also probably
the highest-quality solution for R.

> Look in the $RHOME/doc/manual directory.  There is a LaTeX source file
> called plotmath.tex that provides some documentation.  If things are
> set up properly in that directory you should be able to run
> 
>  make Man-plotmath.ps
> 
> and get a PostScript file of two pages of documentation.

Indeed, it is one of the few things documented about R (the other
major one being the format of .Rd files).  However, I would like to
point that the the V&R `R Complements' do have a concise description
of this culled from all those sources.

Brian

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list