From deepayan.sarkar at gmail.com  Thu Oct 12 03:22:56 2006
From: deepayan.sarkar at gmail.com (Deepayan Sarkar)
Date: Wed, 11 Oct 2006 18:22:56 -0700
Subject: [Rd] warnings with plot=FALSE in hist.default
Message-ID: <eb555e660610111822n37f03720k76cd72a30b23bf6c@mail.gmail.com>

Hi,

the NEWS for R 2.4.0 has:

    o   hist(*, plot = FALSE) now warns about unused arguments.

I'm sure this does some good for someone somewhere, but it causes
lattice::histogram() calls to produce warnings now in certain cases,
which I need to fix. However, ?hist makes no mention of this new state
of affairs, and the definition of ``unused'' seems arbitrary since
'freq' and 'probability', which have no effect (unless they contradict
each other) do not trigger the warning. Could the help page be
clarified to reflect the intent so that I don't get caught by more
changes later?

Thanks,

Deepayan

P.S. The help page also has

     ...: further graphical parameters passed to 'plot.histogram' and
          their to 'title' and 'axis' (if 'plot=TRUE').

which is grammatically incorrect (I'm not sure what was intended).




[Rd] warnings with plot=FALSE in hist.default
Deepayan Sarkar