On Sun, Jul 4, 2010 at 5:38 PM, Dirk Eddelbuettel <edd@debian.org> wrote:

> Yes, and by design as --vanilla means ignore my ~/.R* files.
>
> So you must change your language in another place, for example in the shell
> in which you are calling R CMD BATCH.  You could just create a 'worker
> script' that sets those variables and then calls R CMD BATCH.
>

Mat,
You might as well try running "export LANG=en_US.UTF8" before running R
vanilla. This will set the language of the current terminal session. After
you are done, you can run the same command to set the previous language. To
know the current value of LANG environment variable, do "echo $LANG".
As Dirk suggested, you can write a worker script to do this for you.

-- 
Regards
Chirag Anand

Blog :http://techfreaks4u.com/blog
anything weird is worth a try...

	[[alternative HTML version deleted]]

