Skip to content
Prev 337141 / 398528 Next

expressions (nesting, substitution, 2-stage evaluation)

Use bquote's .() operator in the call to plot() or title(), as in:
 par(mfrow=c(2,1)) 
 for(ii in vectorA) {
      plot(0:1,0:1,main=bquote(.(ii) ~ cm/sec^2))
  }

Bill Dunlap
TIBCO Software
wdunlap tibco.com