Docker: Issues with string encoding
Docker currently crashes while running master.R
with an error related to the use gregexpr
and an error saying something about invalid multibyte strings
. This can be circumvented by setting useBytes = TRUE
as parameter, however then there is a similar error in every use of trimws
(which seems to call some sort of the grep function after all...).
This can be circumvented completely by setting Sys.setlocale("LC_ALL", "C")
which sets all locales to no locale. The script will then run through but fail to create data.
Setting the locale to Sys.setlocale("LC_ALL", 'en_US.UTF-8')
does not help.
Also this should be adressed in the Docker container on which we base our own one, see here. It does not though.
Edited by David Fuhry