【问题标题】:How can I set UTF8 and start H2O Flow UI via R?如何设置 UTF8 并通过 R 启动 H2O Flow UI?
【发布时间】:2019-05-24 18:34:39
【问题描述】:

我想在 H2O Flow UI 中设置 UTF8。

在终端中,我可以设置 UTF8 并打开 H2O Flow UI。

java -jar -Dfile.encoding=UTF-8 h2o.jar

但我通常使用 R。 如何设置 UTF8 并通过 R 启动 H2O Flow UI?

我尝试了以下。

options(encoding = "utf-8")
h2o.init()

和

h2o.init(extra_classpath = "-Dfile.encoding=UTF-8")

它运行,但不设置 UTF8

【问题讨论】:

    标签: r h2o


    【解决方案1】:

    将您的选项传递给jvm_custom_args 参数,而不是extra_classpath,如h2o.init(jvm_custom_args = "-Dfile.encoding=UTF-8") 中

    【讨论】:

      猜你喜欢
      • 2019-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-11-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多