# R-alpha: Equations in Plots

Ross Ihaka ihaka@stat.auckland.ac.nz
Thu, 8 May 1997 16:32:48 +1200 (NZST)

Paul Murrell and I are making some progress with making mathematical
expressions available in graphs.  The idea is to use R expressions to
represent the mathematical expressions.  So far we have (or will soon
have):

R		LaTeX

x^i		x^i
x[i]		x_i
alpha		\alpha
Alpha		\Alpha
hat(x)		\hat{x}	\widehat{x}
bar(x)		\bar{x} \overline{x}
x+y		x+y
x-y		x-y
x/y		x/y
(x)		(x)
{x}		{x}
frac(x,y)	\frac{x}{y}
cdots		\cdots
ldots		\ldots

We are wondering how far to go with this process.  Does the above
cover what people want, or are there important omitted features
(we don't really want to do all of TeX).

We are prototyping this in lisp and it will be a little while before
it finds its way onto R.
Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-