Skip to content
Prev 31749 / 398506 Next

again troubles with lattice

On Thu, 8 May 2003, Wladimir Eremeev wrote:

            
They do when called from a script running directly.  It's calling the 
script file from source() that gives the problem.

You haven't actually asked for anything to be plotted!  xyplot returns a
plottable object, which when *printed* is plotted.  Auto-printing works at
the top level in R, but not inside source.  You need to wrap your lattice
calls in print().

[...]
And that is `running the script'.