在R中使用h2o.init时出错

Joh*_*ain 5 r h2o

这是错误消息:

   > h2o.init()
Error in dirname(path) : path too long
In addition: There were 12 warnings (use warnings() to see them)
Run Code Online (Sandbox Code Playgroud)

这是警告消息之一(其他类似):

> warnings()
    Warning messages:
    1: In normalizePath(path.expand(path), winslash, mustWork) :
      path[1]="\\FILE-EM1-06/USERDATA2$/john134/My Documents/./../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../..": The filename or extension is too long
Run Code Online (Sandbox Code Playgroud)

任何想法如何解决此错误?

谢谢

Gio*_*ato 2

Windows 路径字符串的长度似乎被限制为(也许)256。通常,设置路径setwd(shorterExistingWorkDir)是有效的并且应该可以解决您的问题。