Bug #2362

TXM: 0.7.9, on Windows, commands based on R don't work with accented characters in user login

Added by Matthieu Decorde about 1 year ago. Updated 3 months ago.

Status:New Start date:04/09/2018
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Stats / R Spent time: -
Target version:TXM X.X

Description

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.

Solution 1 (temporary)

Change TXM user home path to a path without accents.

Diagnostic

check if the "--encoding utf8" R launch parameter is working correctly.

The Man page says:

--encoding=ENC
              Specify encoding to be used for stdin

       --encoding ENC

We use "--encoding utf8".

Solution 2 (definitive)

On Windows, the "--encoding utf8" option is not sufficient for setwd to work, we must also tel Rserve the UTF8 encoding for input/output (see RConnect()).

History

#1 Updated by Matthieu Decorde about 1 year ago

  • Description updated (diff)

#2 Updated by Serge Heiden about 1 year ago

  • Description updated (diff)

#3 Updated by Serge Heiden about 1 year ago

  • Description updated (diff)

#4 Updated by Serge Heiden about 1 year ago

  • Subject changed from TXM: 0.7.9, on Windows, R setwd failing R startup sequence to TXM: 0.7.9, on Windows, commands based on R don't work with accented characters in user login
  • Description updated (diff)

#5 Updated by Sebastien Jacquot 12 months ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#6 Updated by Matthieu Decorde 3 months ago

  • Target version changed from TXM 0.8.0 to TXM X.X

Also available in: Atom PDF