针对dashDB的R Studio'rworldmap'包安装错误

时间:2015-08-04 23:11:09

标签: db2 rstudio ibm-cloud rworldmap dashdb

背景:我正在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

请帮我解决问题。

1 个答案:

答案 0 :(得分:1)

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