Tuesday, November 16, 2010

Launching linux programs with a specific locale

To launch a program in Linux with a different locale, use the syntax :

LANG=en_US.UTF-8 R

if it does not work, use

LANGUAGE=en_US.utf8 R

This command launches R with the en_US.UTF-8 locale.