Replies: 2 comments
-
Thanks for reporting. After some searching, it looks like Sys.setlocale("LC_ALL", "en_GB.UTF-8")
envs <- Sys.getenv() ? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am running some code on our cluster and keep hitting an error about an invalid multibyte string when a function is called with a
future
. The following reproduces the error in a fresh session on the cluster:If I set the locale to
"C"
the error disappears:SessionInfo:
The error does not appear when I run the code with the
en_GB.UTF-8
locale on my MacBook, so I am at a bit of a loss on how to debug this.The obvious fix to just always set
Sys.setlocale('LC_ALL',"C")
at the beginning of the script works most of the time, but sometimes the code seems to forget about the setting and still crashes.Beta Was this translation helpful? Give feedback.
All reactions