这是错误消息:
> h2o.init()
Error in dirname(path) : path too long
In addition: There were 12 warnings (use warnings() to see them)
这是警告消息之一(其他类似):
> 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
知道如何解决此错误吗?
谢谢
最佳答案
似乎 Windows 路径字符串仅限于(可能)256 长度。通常,设置路径 setwd(shorterExistingWorkDir)
工作,应该解决你的问题。
关于r - 在 R 中使用 h2o.init 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42973949/