Re: [R] plot empty when drawing from custom function

2017-03-28 Thread Bert Gunter
FAQ 7.16 Bert On Mar 28, 2017 1:20 AM, "Luigi Marongiu" wrote: Dear all, I have set a function to draw some data using lattice; the drawing works when I use lattice on its own, but if I put it into my custom function, the final plot is empty, yet the terminal reports RStudioGD 1 as no

Re: [R] plot empty when drawing from custom function

2017-03-28 Thread Gerrit Eichner
Hi, Luigi, you are probably missing a call to print() around the call to the latticeExtra plotting function useOuterStrips() you use inside your function printer(). Hth -- Gerrit - Dr. Gerrit Eichner Mathem

[R] plot empty when drawing from custom function

2017-03-28 Thread Luigi Marongiu
Dear all, I have set a function to draw some data using lattice; the drawing works when I use lattice on its own, but if I put it into my custom function, the final plot is empty, yet the terminal reports RStudioGD 1 as normal. What am I missing? regards, Luigi >>> cluster <- c(rep("A", 90