From: Thomas Lumley <tlumley_at_u.washington.edu>

Date: Sat 23 Jul 2005 - 00:34:32 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jul 23 00:42:57 2005

Date: Sat 23 Jul 2005 - 00:34:32 EST

On Fri, 22 Jul 2005, Dan Bolser wrote:

> On Fri, 22 Jul 2005, Gabor Grothendieck wrote:

*>
**>> Try as.expression(bquote(...whatever...))
**>
**> Sob, wimper, etc.
*

a<-7

plot(1)

legend("topleft",legend=do.call("expression",

list(bquote(alpha==.(a)),bquote(alpha^2+1==.(a^2+1)))))

works for me. The trick is getting the inner calls to bquote evaluated, since expression doesn't evaluate its argument.

-thomas

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jul 23 00:42:57 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:33:55 EST
*