Bug #2362
Mis à jour par Serge Heiden il y a plus de 7 ans
R seems to be working (the start-up message is normal), but commands using R don't work.
Logs show that the setwd R command is failing when the user home path contains accented characters.
h3. Solution 1 (temporary)
Change TXM user home path to a path without accents.
h3. Diagnostic
check if the "--encoding utf8" R launch parameter is working correctly.
The Man page says:
<pre>
--encoding=ENC
Specify encoding to be used for stdin
--encoding ENC
</pre>
We use "--encoding utf8".
h3. Solution 2 (definitive)
On Windows, the The "--encoding utf8" option is not sufficient, we must also tel Rserve the UTF8 encoding for input/output (see RConnect()).
Logs show that the setwd R command is failing when the user home path contains accented characters.
h3. Solution 1 (temporary)
Change TXM user home path to a path without accents.
h3. Diagnostic
check if the "--encoding utf8" R launch parameter is working correctly.
The Man page says:
<pre>
--encoding=ENC
Specify encoding to be used for stdin
--encoding ENC
</pre>
We use "--encoding utf8".
h3. Solution 2 (definitive)
On Windows, the The "--encoding utf8" option is not sufficient, we must also tel Rserve the UTF8 encoding for input/output (see RConnect()).