Locales (1)

  • locale = specifier of language and optionally the region
    • e.g. en, en_US, en_UK, nl_BE, etc.
    • wrt strings, it affects changing case and sorting
  • base R defaults to your personal system’s locale = different behaviour between machines!
  • {stringr} defaults to en; can take explicit locale = consistent behaviour!