Skip to content
Prev 3346 / 63424 Next

bug and fix : using panel.first with plot() in do.call() (PR#457)

On Fri, 25 Feb 2000 c.farrow@compserv.gla.ac.uk wrote:

            
Yes, and a solution is

         do.call("plot", list(x=1:5, panel.first=quote(grid(2,2))))

as when you do this sort of thing you can't rely on lazy evaluation.
replacing `quote' by `delay' will also work.  The help page says
they should be unevaluated expressions.
Um, ?plot.default say panel.first and panel.last should be *expressions*
*to be evaluated*, so is this not working as documented?