背景:我正在IBM Bluemix上创建一个应用程序,其中涉及使用DashDB。从那时起,我开设了R Studio。
我是R的新手,我正试图在R Studio上安装rworldmap。在安装相同的时候,我选中了Install Dependencies按钮。安装失败,并在spam包安装期间出现一些错误。
安装程序然后尝试安装以下依赖项(包):
- 垃圾邮件
- <
- 字段/gh>
spam package安装警告/错误日志:
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 package warning/Errors log:
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
请帮我解决这个问题。
感谢您报告这个问题。开发团队已经意识到某些必要的包没有安装在系统上,并且正在开发解决方案。当问题解决后,我们会通知您重新尝试。