[Rd] Trig.Rd typo (PR#9269)

maechler at stat.math.ethz.ch maechler at stat.math.ethz.ch
Mon Oct 2 11:08:36 CEST 2006


Thank you, Robin (and Kjetil),
for spotting and reporting this so precisely.

This is a (somewhat rare) example of a bug that is trivial
enough to fix so the fix even made it into the  "deep frozen" 
release candidate (R 2.4.0, to be released tomorrow).

Martin Maechler, ETH Zurich

>>>>> "Robin" == r hankin <r.hankin at noc.soton.ac.uk>
>>>>>     on Mon,  2 Oct 2006 09:51:39 +0200 (CEST) writes:

    Robin> Full_Name: Robin Hankin Version: 2.4.0 RC OS: MacOSX
    Robin> 10.4.7 Submission from: (NULL) (139.166.242.29)


    Robin> The first cut line described in Trig.Rd for asin() is
    Robin> incorrect in the ascii version of the manpage.

    Robin> The Rd file reads:

    Robin>  For \code{asin()} and \code{acos()}, there are two
    Robin> cuts, both along the real axis: \eqn{\left(-\infty,
    Robin> -1\right]}{\(-Inf, 1\]} and
 
    Robin> Note the inconsistency between the ascii and latex
    Robin> equations.  It should read:

    Robin>  For \code{asin()} and \code{acos()}, there are two
    Robin> cuts, both along the real axis: \eqn{\left(-\infty,
    Robin> -1\right]}{\(-Inf, -1\]} and


    Robin> where the final "1" has been changed to a "-1".  Ref:
    Robin> AMS-55, page 79, figure 4.4.


    Robin> It's very difficult to catch this kind of error:
    Robin> thanks to Kjetil Halvorson for his sharp-eyed
    Robin> comment.

    Robin> ______________________________________________
    Robin> R-devel at r-project.org mailing list
    Robin> https://stat.ethz.ch/mailman/listinfo/r-devel




More information about the R-devel mailing list