1

我想在 R 中安装 gbm,所以使用命令install.packages("gbm")但收到错误消息:

Error : package 'parallel' could not be loaded
ERROR: lazy loading failed for package ‘gbm’

我的系统是Red Hat Enterprise Linux Workstation release 6.2 (Santiago). 有什么解决办法吗?

编辑:

当我尝试使用安装“并行”时,install.packages("parallel")我收到以下警告:

Warning in install.packages("parallel") :
  argument 'lib' is missing: using '/home/abhay/R/x86_64-unknown-linux-gnu-library/2.10'
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘parallel’ is not available

我应该指定什么库?

4

0 回答 0