get_locale: Get the language and location of a system locale

View source: R/utilities.R

get_localeR Documentation

Get the language and location of a system locale

Description

OS-flexible approach to determining the system locale with respect to language and location.

Usage

get_locale(category = "LC_TIME")

Arguments

category

character string of the locale environmental variable to use, passed directly to Sys.getlocale.

Value

character vector with elements "language" and "location".

Examples

 get_locale()


dapperstats/gendrendr documentation built on Dec. 8, 2022, 3:27 a.m.