Re: [R] Using bquote: question

2008-01-24 Thread Prof Brian Ripley
BTW, this is not the behaviour of current versions (R-patched, R-devel, and 2.6.0 is not even the latest released version) of R, so the comment about updating in the posting guide applies. From the NEWS file plot.formula() was not accepting expressions for annotations passed t

Re: [R] Using bquote: question

2008-01-24 Thread Deepayan Sarkar
On 1/24/08, Bert Gunter <[EMAIL PROTECTED]> wrote: > I should have perhaps phrased my previous post better as: the result of > bquote() is a language expression argument of mode "call" which gets > evaluated by the plotmath functionality in your first plot call, but gets > evaluated in the global

Re: [R] Using bquote: question

2008-01-24 Thread Bert Gunter
I should have perhaps phrased my previous post better as: the result of bquote() is a language expression argument of mode "call" which gets evaluated by the plotmath functionality in your first plot call, but gets evaluated in the global environment in the second before being passed back to the p

Re: [R] Using bquote: question

2008-01-24 Thread Bert Gunter
It's a bit subtle, I must admit, but this behavior **is** documented ( ya just gotta read **carefully**). Your first (S3) plot statement calls plot.default. The "main" argument matches the "main" argument of plot.default and works as you expect, plotting the expression character string that resul