Re: [R] setHook and lattice

2008-02-29 Thread Deepayan Sarkar
On 2/29/08, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > See share/perl/massage-examples.pl > > Hint: lattice is a (very sophisticated) wrapper for grid, and it is > grid.newpage() that has the hook. > > Hint 2: look at the version in the R-devel sources, > > https://svn.r-project.org/R/trunk

Re: [R] setHook and lattice

2008-02-29 Thread Prof Brian Ripley
See share/perl/massage-examples.pl Hint: lattice is a (very sophisticated) wrapper for grid, and it is grid.newpage() that has the hook. Hint 2: look at the version in the R-devel sources, https://svn.r-project.org/R/trunk/share/perl/massage-Examples.pl for use with lattice. On Fri, 29 Feb 20

[R] setHook and lattice

2008-02-29 Thread Jim Price
Hi, I am trying to find a way to automate production of page numbers in plots produced using the lattice package. To do this, I started playing around with setHook which works fine with vanilla plot, but the hook 'plot.new' doesn't appear to be relevant to the lattice package. I was wondering if