这是错误消息:
> 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/