Set english as default language for R

This commit is contained in:
2022-05-12 11:27:49 +02:00
parent 81e8bbfebb
commit 29d17a4072

View File

@@ -1,5 +1,6 @@
library(glue)
Sys.setenv(LANG = "en")
resoutput <- capture.output(Sys.setlocale("LC_MESSAGES", 'en_GB.UTF-8'))
args = commandArgs(trailingOnly=TRUE)
if (length(args)!=3) {
stop("Only two arguments must be supplied (score & input_file & visualize).n", call.=FALSE)