Skip to content

Commit cd94cda

Browse files
author
smeyer
committed
mention new sort_by()
git-svn-id: https://svn.r-project.org/R/trunk@86481 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent d0bb76e commit cd94cda

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/manual/R-FAQ.texi

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
@c things.
2727
@c For now, simply hard-wire the year again.
2828
@c @include version.texi
29-
@set FAQ_YEAR 2023
29+
@set FAQ_YEAR 2024
3030
@c </FIXME>
3131

3232
@macro CRAN{}
@@ -2763,6 +2763,9 @@ or more of the columns, simply use @code{order()} (e.g.,
27632763
@code{DF[order(DF$a, DF[["b"]]), ]} to sort the data frame @code{DF} on
27642764
columns named @code{a} and @code{b}).
27652765

2766+
From R 4.4.0, @code{sort_by()} provides a less verbose alternative
2767+
with a formula interface (e.g., @code{sort_by(DF, ~a + b)}).
2768+
27662769
@node Why does the help.start() search engine not work?, Why did my .Rprofile stop working when I updated R?, How can I sort the rows of a data frame?, R Miscellanea
27672770
@section Why does the help.start() search engine not work?
27682771

0 commit comments

Comments
 (0)