gpt4 book ai didi

r - 在 Ubuntu 14.04.1 LTS 上安装 R (3.1.0) 包插入符号时出错

转载 作者:行者123 更新时间:2023-12-04 18:41:33 37 4
gpt4 key购买 nike

尝试在 R 3.1.0(Ubuntu 14.04.01 LTS)上安装包“caret”并遇到构建错误。

> install.packages('caret')

[...]
* installing *source* package ‘BradleyTerry2’ ...
** package ‘BradleyTerry2’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error : object ‘brglm’ is not exported by 'namespace:brglm'
ERROR: lazy loading failed for package ‘BradleyTerry2’
* removing ‘/home/br00t/R/x86_64-pc-linux-gnu-library/3.1/BradleyTerry2’
Warning in install.packages :
installation of package ‘BradleyTerry2’ had non-zero exit status
ERROR: dependency ‘BradleyTerry2’ is not available for package ‘caret’
* removing ‘/home/br00t/R/x86_64-pc-linux-gnu-library/3.1/caret’
Warning in install.packages :
installation of package ‘caret’ had non-zero exit status

The downloaded source packages are in
‘/tmp/Rtmp7pWmvr/downloaded_packages’
> sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
[1] LC_CTYPE=en_CA.UTF-8 LC_NUMERIC=C LC_TIME=en_CA.UTF-8 LC_COLLATE=en_CA.UTF-8
[5] LC_MONETARY=en_CA.UTF-8 LC_MESSAGES=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] sp_1.0-16

loaded via a namespace (and not attached):
[1] grid_3.1.0 lattice_0.20-29 tools_3.1.0

在互联网上找不到任何有用的东西。不确定这是否是 BradleyTerry2 软件包或 brglm 的问题...帮助?

谢谢,

br00t

最佳答案

如果您运行的 brglm 软件包版本高于 0.5-9,请卸载并安装 brglm 软件包版本 0.5-9

关于r - 在 Ubuntu 14.04.1 LTS 上安装 R (3.1.0) 包插入符号时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25776005/

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com