[Rd] "factor now uses order() to sort its levels" not yet in R 3.4.0

Martin Maechler maechler at stat.math.ethz.ch
Thu Jun 15 17:36:35 CEST 2017


>>>>> Suharto Anggono Suharto Anggono <suharto_anggono at yahoo.com>
>>>>>     on Wed, 14 Jun 2017 17:17:38 +0000 writes:

 [............quite important stuff, taking _longer_ to reply .......]

    >     > By the way, in NEWS, in "CHANGES IN R 3.4.0", in "SIGNIFICANT USER-VISIBLE CHANGES", there is "factor() now uses order() to sort its levels". It is false. Code of function 'factor' in R 3.4.0 (https://svn.r-project.org/R/tags/R-3-4-0/src/library/base/R/factor.R) still uses 'sort.list', not 'order'.

Thanks a lot for spotting and mentioning this!
I have now moved the entry to the NEW FEATURES of 'R devel'.

It could also go to 'R 3.4.0 patched --- to become R 3.4.1 at
around "useR! 2017" --- but it was not my change so don't know
how important or how "dangerous" the change is, so would leave
this to my R core colleague (BCC ed).

Martin



More information about the R-devel mailing list