[Rd] Regression in match() in R 3.3.0 when matching strings with different character encodings

Martin Maechler maechler at stat.math.ethz.ch
Tue May 10 08:40:25 CEST 2016


>>>>> Peter Haverty <haverty.peter at gene.com>
>>>>>     on Mon, 9 May 2016 09:47:48 -0700 writes:

    > Dear Kirill,
    > You are correct, that is a new bug introduced in PR16491. The appropriate
    > fix and regression tests have been added via PR16885, which has been merged
    > into trunk. I believe that means the fix will be released with R 3.3.1.

Yes, definitely.
Kirill, as seem to use code which does trigger the bug, you may want to
switch using 'R-patched', i.e., 

  > R.version.string
  [1] "R version 3.3.0 Patched (2016-05-09 r70591)"

   ( where the subversion revision must be >= 70591 )

    > I checked your example and the second "match" now properly returns 1 with
    > the patched code.

    > Please have a look at
    > https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16885
    > http://developer.r-project.org/blosxom.cgi/R-devel/NEWS

    > Thank you for your report. I hope the benefits of this speedup will
    > eventually outweigh this unfortunate bug in my PR16491.

I'm pretty sure that your hope will be fulfilled.

    > Regards,
    > Pete
    > ____________________
    > Peter M. Haverty, Ph.D.

Martin Maechler, ETH Zurich



More information about the R-devel mailing list