Skip to content

R-alpha: Equations in Plots

3 messages · Ross Ihaka, Thomas Lumley

#
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
On Thu, 8 May 1997, Ross Ihaka wrote:

            
<things>
I would really like to have the whole Greek alphabet or at least rho, mu
sigma and chi.


Thomas Lumley
------------------------------------------------------+------
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :
------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
Thomas Lumley writes:
 > I would really like to have the whole Greek alphabet or at least rho, mu
 > sigma and chi.

I don't see a smiley so I'll bite ...  When I said "alpha" I meant by
implication the entire greek alphabet (upper and lower case).  I was
really asking if it would be a problem that we don't have big
"operators" like \sum, \prod, \lim, \int etc.  Expressions this
complex are probably better banished to a caption.
	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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-