[Rd] order() and sort() on single row data.frames

Benjamin Becker b@becker @end|ng |rom |qb@hu-ber||n@de
Tue Dec 1 18:42:46 CET 2020


Hi,

not sure whether this belongs here or has been reported/asked before.

In the current R devel the behavior of order() and sort() on data.frames 
with a single row has changed.

Before (release):

 > sort(data.frame("b", "a"))
   X.a. X.b.
1    a    b

Now (devel):

 > sort(data.frame("b", "a"))
   X.b.
1    b

I did not find any specific documentation in the daily news log on this.

Thanks,
Benjamin



More information about the R-devel mailing list