Skip to content

Commit

Permalink
mention new sort_by()
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@86481 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
smeyer committed Apr 24, 2024
1 parent d0bb76e commit cd94cda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/manual/R-FAQ.texi
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@c things.
@c For now, simply hard-wire the year again.
@c @include version.texi
@set FAQ_YEAR 2023
@set FAQ_YEAR 2024
@c </FIXME>

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

From R 4.4.0, @code{sort_by()} provides a less verbose alternative
with a formula interface (e.g., @code{sort_by(DF, ~a + b)}).

@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
@section Why does the help.start() search engine not work?

Expand Down

0 comments on commit cd94cda

Please sign in to comment.