RDocumentation
Moon
Learn R
Search all packages and functions
withr (version 1.0.1)
with_locale: Locale settings
Description
Temporarily change locale settings.
Usage
with_locale(new, code)
Arguments
new
[named character]
New locale settings
code
[any]
Code to execute in the temporary environment
Value
[any]
The results of the evaluation of the
code
argument.
Details
Setting the
LC_ALL
category is currently not implemented.
See Also
withr
for examples
Sys.setlocale