[R] Decreasing my personal entropy ...

Warnes, Gregory R gregory_r_warnes at groton.pfizer.com
Fri Jan 31 17:02:02 CET 2003

Lattice plots and trellice plots are actually displayed by thier 'print'
methods.  So, to get ta plot to be displayed in a non-interactive context,
such as a script, explicitly call print on the results of the plot command.


-----Original Message-----
From: Gunter, Bert
To: R-Help (E-mail)
Sent: 1/31/03 8:45 AM
Subject: [R] Decreasing my personal entropy ...


A very minor -- and maybe silly -- question just for personal

In S (either R or S-Plus, AFAIK) when one types or pastes a trellis
command into the commands/console window, the graph is automatically


If one puts these in a function and calls the function, the same occurs.
However, if one sources in these command from a file (i.e., using
automatic printing does not occur; one must explicitly call
print(xyplot(y~x)) . Why do things work this way?  

Many thanks.

Bert Gunter
Biometrics Research RY 84-16
Merck & Company
P.O. Box 2000
Rahway, NJ 07065-0900
Phone: (732) 594-7765
mailto: bert_gunter at merck.com

"The business of the statistician is to catalyze the scientific learning
process."      -- George E.P. Box


R-help at stat.math.ethz.ch mailing list

LEGAL NOTICE\ Unless expressly stated otherwise, this message is ... [[dropped]]

More information about the R-help mailing list