[Rd] par help wrong: xlog & ylog (PR#497)
maechler@stat.math.ethz.ch
maechler@stat.math.ethz.ch
Tue, 21 Mar 2000 17:05:42 +0100 (MET)
>>>>> "Bill" == Bill Simpson <wsi@gcal.ac.uk> writes:
Bill> On 21 Mar 2000, Peter Dalgaard BSA wrote:
>> wsi@gcal.ac.uk writes:
>>
>> > Full_Name:
>> > Version: 1.0.0
>> > OS: linux
>> > Submission from: (NULL) (193.62.250.209)
>> >
>> >
>> >
>> >
>> > ?par lists and describes xlog and ylog, though these are
>> > obsolete. It does not list log. I found out about log from
>> > ?plot.defaults--so that help is OK.
>>
>> Not a bug, not obsolete, and works as documented:
Bill> True. True. Not documented in plot help. It is documented in plot.default.
Bill> Why not in par, where xlog and ylog are? I find it confusing.
>>
>> > plot(1,log="y")
>> > par("ylog")
>> [1] TRUE
log is *not* a valid par(.) argument, what makes you think it should be
documented there ?
> par(log = "x")
Warning message:
parameter "log" can't be set in: par(args)
It *is* a valid argument to most(?) plot methods;
plot is the generic function, and the idea is that it only documents what
*ALL* plot methods have in common. This is the reason that "log = .." is
documented with the default plot method, plot.default.
You might have a point: We could (should we?) consider requiring a
"log =" argument for *ALL* plot methods, and then have it
documented and possibly even among the listed arguements (the "non ..." ones)
of the generic plot.
Opinions?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._