在我的 Linux 上从 R 下载 H2o.ai 时,我收到几条警告,指出文件丢失,例如:Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.abs.Rd:32: missing file link 'abs'
我使用的是 H2o 的标准安装代码:install.packages("h2o", type="source", repos="http://h2o-release.s3.amazonaws.com/h2o/rel-xu/1/R")
以下是带有警告的输出: ' h2o.abs html
Rd warning:/tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.abs.Rd:32: 缺少文件链接 'abs' h2o.acos html
Rd 警告:/tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.acos.Rd:24: 缺少文件链接 'acos'
h2o.ascharacter html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ascharacter.Rd:16: missing file link ‘as.character’
h2o.asfactor html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.asfactor.Rd:16: missing file link ‘as.factor’
h2o.asnumeric html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.asnumeric.Rd:16: missing file link ‘as.numeric’
h2o.ceiling html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ceiling.Rd:18: missing file link ‘ceiling’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cos.Rd:16: missing file link ‘cos’
h2o.cosh html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cosh.Rd:16: missing file link ‘cosh’
h2o.coxph html
h2o.createFrame html
h2o.cross_validation_fold_assignment html
h2o.cross_validation_holdout_predictions
html
h2o.cross_validation_models html
h2o.cross_validation_predictions html
h2o.cummax html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cummax.Rd:18: missing file link ‘cummax’
h2o.cummin html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cummin.Rd:18: missing file link ‘cummin’
h2o.cumprod html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cumprod.Rd:18: missing file link ‘cumprod’
h2o.exp html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.exp.Rd:16: missing file link ‘exp’
h2o.floor html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.floor.Rd:18: missing file link ‘floor’
h2o.ischaracter html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ischaracter.Rd:16: missing file link ‘is.character’
h2o.isfactor html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.isfactor.Rd:16: missing file link ‘is.factor’
h2o.isnumeric html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.isnumeric.Rd:16: missing file link ‘is.numeric’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.log.Rd:16: missing file link ‘log’
h2o.log10 html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.log10.Rd:16: missing file link ‘log10’
h2o.log1p html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.log1p.Rd:16: missing file link ‘log1p’
h2o.log2 html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.log2.Rd:16: missing file link ‘log2’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.max.Rd:18: missing file link ‘max’
h2o.mean html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.mean.Rd:46: missing file link ‘rowMeans’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.mean.Rd:46: missing file link ‘colMeans’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.min.Rd:18: missing file link ‘min’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ncol.Rd:16: missing file link ‘ncol’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.rbind.Rd:32: missing file link ‘rbind’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.round.Rd:21: missing file link ‘round’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.signif.Rd:21: missing file link ‘signif’
h2o.sin html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.sin.Rd:16: missing file link ‘sin’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.sqrt.Rd:16: missing file link ‘sqrt’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.tan.Rd:16: missing file link ‘tan’
h2o.tanh html
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.tanh.Rd:16: missing file link ‘tanh’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.trunc.Rd:17: missing file link ‘trunc’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.var.Rd:36: missing file link ‘var’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.which_max.Rd:29: missing file link ‘which.max’
building package indices
testing if installed package can be loaded
DONE (h2o)
我相信这个问题在使用 automl 时会导致下游错误,Error: DistributedException from localhost/127.0.0.1:54321: 'Categorical value out of bounds
这些是包中的错误,但不是很严重的错误。 例如,您列出的第一个
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ascharacter.Rd:16: missing file link ‘as.character’
这是因为该帮助文件包含不存在的链接link[base]{as.character}
。 它应该是 link[base]{character}
或 link[base:character]{as.character}
,因为指向其他包的链接指向帮助页面名称,而不是主题别名。 如果您使用 ?h2o.ascharacter
寻求帮助,您可能会在帮助页面中找到指向as.character
不起作用的链接。 (通常此类链接确实有效,因为 R 动态帮助系统会理解作者的意思,但某些安装使用静态帮助系统,其中包含预构建的.html
文件,其中链接不起作用。
帮助系统中跨包链接的规则非常奇怪,看起来h2o
作者没有学习它们(或者不关心静态帮助)。
我不知道你对下游错误的猜测是否正确。
你能说更多关于你正在使用的系统和R的版本吗? 我无法使用 R 16.04.5 在 Ubuntu 3.4.4 上重现这一点。 我尝试完全按照您的方式安装,也只是通过从 CRAN 安装最新版本(两者都是版本 3.22.0.1)。
> install.packages("h2o")
Installing package into '/home/ledell/R/x86_64-pc-linux-gnu-library/3.4'
(as 'lib' is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/h2o_3.22.1.1.tar.gz'
Content type 'application/x-gzip' length 432390 bytes (422 KB)
==================================================
downloaded 422 KB
* installing *source* package 'h2o' ...
** package 'h2o' successfully unpacked and MD5 sums checked
** R
** demo
** inst
** preparing package for lazy loading
Performing one-time download of h2o.jar from
http://s3.amazonaws.com/h2o-release/h2o/rel-xu/1/Rjar/h2o.jar
(This could take a few minutes, please be patient...)
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (h2o)
The downloaded source packages are in
'/tmp/RtmpGwtVRB/downloaded_packages'
> install.packages("h2o", type="source", repos="http://h2o-release.s3.amazonaws.com/h2o/rel-xu/1/R")
Installing package into '/home/ledell/R/x86_64-pc-linux-gnu-library/3.4'
(as 'lib' is unspecified)
trying URL 'http://h2o-release.s3.amazonaws.com/h2o/rel-xu/1/R/src/contrib/h2o_3.22.1.1.tar.gz'
Content type 'application/x-tar' length 120971891 bytes (115.4 MB)
==================================================
downloaded 115.4 MB
* installing *source* package 'h2o' ...
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (h2o)
The downloaded source packages are in
'/tmp/RtmpGwtVRB/downloaded_packages'
下游错误不相关。 如果您可以将正在运行的代码作为带有可重现代码的单独问题发布,我们可以尝试对其进行整理。