Re: [R] multiple text placements and expressions revisited

2008-01-17 Thread Johannes Graumann
Thanks for your help! Works like a charm now - I can even append to an expression abject as if it was plain 'c()' ... Joh Prof Brian Ripley wrote: > On Thu, 17 Jan 2008, Johannes Graumann wrote: > >> Hi all, >> >> I asked something like this earlier but decided that a proper minimal >> example

Re: [R] multiple text placements and expressions revisited

2008-01-17 Thread Prof Brian Ripley
On Thu, 17 Jan 2008, Johannes Graumann wrote: > Hi all, > > I asked something like this earlier but decided that a proper minimal > example might be helpfull ;0) > > Why does this work with regards to the expression (substitution): > > require(stats) > plot(cars) > text(5,120,labels=substitute(i^{

[R] multiple text placements and expressions revisited

2008-01-17 Thread Johannes Graumann
Hi all, I asked something like this earlier but decided that a proper minimal example might be helpfull ;0) Why does this work with regards to the expression (substitution): require(stats) plot(cars) text(5,120,labels=substitute(i^{z+phantom()}*"("*a*" AMU)",list(i="yx",z=2,a=0))) text(c(5,5),c(