On 3/06/20 2:21 pm, p...@philipsmith.ca wrote:
Thanks Bert. That did it.
Philip
On 2020-06-02 22:02, Bert Gunter wrote:
In a function you must explicitly print/plot the ggplot() object, I
assume. i.e. plot(ggplot(...)) etc.
I do not use ggplot, so if I'm wrong, sorry. But try it. Hopefully
someone else will get it right if it doesn't do it.
<SNIP>
You might find fortunes::fortune(123) to relevant. The comment was made
in respect of the *lattice* package, but it would seem to apply equally
to *ggplot2*.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.