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

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()