0

背景:我正在 IBM Bluemix 上创建一个涉及使用 DashDB 的应用程序。从那里我打开了 R Studio。

我是 R 新手,我正在尝试在 R Studio 上安装rworldmap 。在安装时我检查了安装依赖项按钮。安装失败并在垃圾邮件包安装过程中出现了一些错误。

然后安装程序尝试安装以下依赖项(包):

  • 垃圾邮件
  • 字段

垃圾邮件包安装警告/错误日志:

installing to /mnt/blumeta0/home/dash014837/R/x86_64-redhat-linux-gnu-library/3.2/spam/libs
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** preparing package for lazy loading
Error in setOldClass(c("dist", "numeric")) : 
inconsistent old-style class information for “dist”; the class is defined but does not extend “numeric” and is not valid as the data part
Error : unable to load R code in package ‘spam’
ERROR: lazy loading failed for package ‘spam’
* removing ‘/mnt/blumeta0/home/dash014837/R/x86_64-redhat-linux-gnu-library/3.2/spam’
Warning in install.packages :
  installation of package ‘spam’ had non-zero exit status

字段包安装警告/错误日志:

Attaching package: ‘arules’

The following objects are masked from ‘package:base’:

%in%, write

ERROR: dependency ‘spam’ is not available for package ‘fields’
* removing ‘/mnt/blumeta0/home/dash014837/R/x86_64-redhat-linux-gnu-library/3.2/fields’
Warning in install.packages :
installation of package ‘fields’ had non-zero exit status

rworldmaps包警告/错误日志:

The following objects are masked from ‘package:base’:

%in%, write

ERROR: dependency ‘fields’ is not available for package ‘rworldmap’
* removing ‘/mnt/blumeta0/home/dash014837/R/x86_64-redhat-linux-gnu-library/3.2/rworldmap’
Warning in install.packages :
  installation of package ‘rworldmap’ had non-zero exit status

请帮我解决问题。

4

1 回答 1

1

感谢您报告这一问题。开发团队已经意识到系统上没有安装某些必需的软件包,并且正在制定解决方案。问题解决后,我们将更新您重试。

于 2015-08-05T15:49:54.387 回答