【问题标题】:Unable to install R pmml package on Red Hat无法在 Red Hat 上安装 R pmml 包
【发布时间】:2018-05-30 14:52:01
【问题描述】:

尝试在 Red Hat 上使用 R Studio 安装 pmml 包。我得到以下输出:

================================================
downloaded 136 KB

* installing *source* package 'pmml' ...
** package 'pmml' successfully unpacked and MD5 sums checked
** R
** data
** inst
** preparing package for lazy loading
Error : object 'str_interp' is not exported by 'namespace:stringr'
ERROR: lazy loading failed for package ?pmml?
* removing '/usr/lib64/R/library/pmml'
Warning in install.packages :
  installation of package 'pmml' had non-zero exit status

【问题讨论】:

  • 你有什么版本的stringr?看起来它已经过时了。先尝试安装新的stringr
  • 解决了这个问题。谢谢!
  • 如果它解决了问题 - 我已经发布了答案。请将其标记为已回答。

标签: r pmml


【解决方案1】:

您的 stringr 包已过时。从 CRAN 安装新的 stringr 包:

install.packages(c("stringr"))

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-12-01
    • 2022-08-18
    • 1970-01-01
    相关资源
    最近更新 更多