Skip to content
Prev 58878 / 398502 Next

expressions and paste

On Thu, 11 Nov 2004, Emily Baldock wrote:

            
With
  sd2<-10
  measure<-quote(mu*g*m^{-3})
  chem<-quote(H[2]*SO[4])
You can use
  plot(1,1,main=bquote("per "*.(sd2)*.(measure)*" in usual "*.(chem)))
or
  plot(1,1,main=substitute("per "*sd2*measure*" in usual "*chem,
    list(sd2=sd2,measure=measure,chem=chem)) )

You don't get the newlines, someone else will have to work this out.

 	-thomas