Collation Order
Temporarily change collation order by changing the value of the
LC_COLLATE
locale.
with_collate(new, code) local_collate(new = list(), .local_envir = parent.frame())
new |
|
code |
|
.local_envir |
|
[any]
The results of the evaluation of the code
argument.
withr
for examples
# Modify collation order: x <- c("bernard", "bérénice", "béatrice", "boris") with_collate("fr_FR", sort(x)) with_collate("C", sort(x))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.