[Rd] Issues of R_pretty in src/appl/pretty.c

Martin Maechler maechler at stat.math.ethz.ch
Tue Aug 22 12:48:13 CEST 2017


>>>>> Suharto Anggono <suharto_anggono at yahoo.com>
>>>>>     on Sat, 19 Aug 2017 14:35:07 +0000 writes:

    > Yes, they work now.  I mentioned them partly because the
    > commit description said overflow for large n and partly to
    > be considered for regression tests.

Thank you, Suharto.

I subsequently have amended NEWS and added such regression tests
(in svn r73108 | 2017-08-19).

Martin

    > --------------------------------------------
    > On Sat, 19/8/17, Martin Maechler
    > <maechler at stat.math.ethz.ch> wrote:

    > Subject: Re: [Rd] Issues of R_pretty in src/appl/pretty.c
    > To: "Suharto Anggono Suharto Anggono" <suharto_anggono at yahoo.com>
    > Cc: r-devel at r-project.org
    > Date: Saturday, 19 August, 2017, 7:47 PM
 
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>>     on Fri, 18 Aug 2017 15:44:06 +0000 writes:

    >> Examples similar to
    >> pretty(c(-1,1)*1e300, n = 1e9, min.n = 1)
    >> with smaller 'n':
    >> pretty(c(-1,1)*1e304, n = 1e5, min.n = 1)
    >> pretty(c(-1,1)*1e306, n = 1e3, min.n = 1)


    > Thank you.

    > "But" all these work now (in R-devel, rev >= 73094) as they should,
    > at least for me, right?

    > Are you mentioning the  "small n" examples so we could use them
    > as regression tests  (instead of the regression test I had added
    > to tests/reg-large.R  which needs enough GB and is slowish ) --
    > or are you seeing a platform where the above cases still don't
    > work in (new enough) R-devel ?

    [...............]



More information about the R-devel mailing list