[R] Lattice graphics strip labels for shingles
    Deepayan Sarkar 
    deepayan.sarkar at gmail.com
       
    Wed Oct 19 18:56:08 CEST 2005
    
    
  
On 10/18/05, Kiermeier, Andreas (PIRSA - SARDI)
<Kiermeier.Andreas at saugov.sa.gov.au> wrote:
> Dear all,
>
> back in 2002 Martin Henry H. Stevens wrote
> (https://stat.ethz.ch/pipermail/r-help/2002-May/019851.html)
>
> > How do I control the text in strips? Specifically, I want to put in the
> > ranges generated in shingle(x) where x is continuous.
>
> with an answer from Deepyan Sarkar (see strip.new towards the end of this
> message).  I assume that the answer worked back then, but I've tried to
> implement it today, with little success.  I think that it may have to do
> with namespaces - but I'm not sure.
It does have to do with namespaces. grid.rect etc are in the grid
namespace which is not attached when you are calling strip.new. The
simplest solution is to attach it first, e.g. by
library(grid)
(or put 'require(grid)' inside strip.new).
Deepayan
    
    
More information about the R-help
mailing list