[R] [FORGED] Re: Chart will not display

Rolf Turner r@turner @end|ng |rom @uck|@nd@@c@nz
Wed Jun 3 04:57:20 CEST 2020


On 3/06/20 2:21 pm, phil using 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



More information about the R-help mailing list