[R] a question about the output of plot

Jim Lemon jim at bitwrit.com.au
Tue Apr 15 11:56:01 CEST 2014


On 04/15/2014 07:51 PM, meng wrote:
> Yes,it works !
> What's the reason for it?
>
Hi meng,
As I understand it, the lattice graphics system produces plot
objects, not actual output on a graphic device. This is in aid
of having an object that can be modified or stored rather than
an image that cannot. The overloading of "print" to produce an
image is a bit counterintuitive, but I suppose there is some
historical reason for it.

Jim




More information about the R-help mailing list