在Ubuntu 10.04上安装R2.13.0软件包(插入符号)时出错
我已按照的指示通过CRAN repo安装了R。在过去,我已经能够在其他几个相同的Ubuntu 10.04系统上很好地安装插入符号,但是今天在Ubuntu 10.04上安装R2.13.0软件包(插入符号)时出错,r,ubuntu,cran,R,Ubuntu,Cran,我已按照的指示通过CRAN repo安装了R。在过去,我已经能够在其他几个相同的Ubuntu 10.04系统上很好地安装插入符号,但是今天install.packages('caret',dependencies=c('dependens','suggestions'))导致了以下错误(只是一个示例)。有什么提示吗 ... ** testing if installed package can be loaded * DONE (dynlm) ERROR: dependencies ‘resh
install.packages('caret',dependencies=c('dependens','suggestions'))
导致了以下错误(只是一个示例)。有什么提示吗
...
** testing if installed package can be loaded
* DONE (dynlm)
ERROR: dependencies ‘reshape’, ‘plyr’, ‘digest’ are not available for package ‘ggplot2’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/ggplot2’
ERROR: dependencies ‘digest’, ‘stringr’, ‘mutatr’, ‘evaluate’ are not available for package ‘testthat’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/testthat’
* installing *source* package ‘ROCR’ ...
** R
...
** testing if installed package can be loaded
* DONE (ROCR)
ERROR: dependencies ‘plyr’, ‘stringr’ are not available for package ‘reshape2’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/reshape2’
* installing *source* package ‘party’ ...
** libs
...
** testing if installed package can be loaded
* DONE (party)
ERROR: dependencies ‘reshape’, ‘plyr’ are not available for package ‘caret’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/caret’
* installing *source* package ‘rocc’ ...
** R
...
* DONE (rocc)
ERROR: dependency ‘reshape2’ is not available for package ‘Cubist’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/Cubist’
The downloaded packages are in
‘/tmp/Rtmp2TsElZ/downloaded_packages’
There were 20 warnings (use warnings() to see them)
> warnings()
Warning messages:
1: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'Rmpi' had non-zero exit status
2: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'rpvm' had non-zero exit status
3: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'rsprng' had non-zero exit status
4: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'XML' had non-zero exit status
5: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'RODBC' had non-zero exit status
6: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'rgl' had non-zero exit status
7: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'RWeka' had non-zero exit status
8: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'shapes' had non-zero exit status
9: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'rgeos' had non-zero exit status
10: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'rgdal' had non-zero exit status
11: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'plyr' had non-zero exit status
12: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'stringr' had non-zero exit status
13: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'latentnet' had non-zero exit status
14: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'reshape' had non-zero exit status
15: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'statnet' had non-zero exit status
16: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'ggplot2' had non-zero exit status
17: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'testthat' had non-zero exit status
18: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'reshape2' had non-zero exit status
19: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'caret' had non-zero exit status
20: In install.packages("caret", dependencies = c("Depends", ... :
installation of package 'Cubist' had non-zero exit status
> library(caret)
Error in library(caret) : there is no package called 'caret'
> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_2.13.0
> install.packages('caret', dependencies=c('Depends','Suggests')) # run again
...
ERROR: dependencies ‘digest’, ‘stringr’, ‘mutatr’, ‘evaluate’ are not available for package ‘testthat’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/testthat’
ERROR: dependency ‘itertools’ is not available for package ‘plyr’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/plyr’
ERROR: dependencies ‘RWekajars’, ‘rJava’ are not available for package ‘RWeka’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/RWeka’
ERROR: dependencies ‘plyr’, ‘stringr’ are not available for package ‘reshape2’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/reshape2’
ERROR: dependency ‘plyr’ is not available for package ‘reshape’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/reshape’
ERROR: dependency ‘reshape2’ is not available for package ‘Cubist’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/Cubist’
ERROR: dependencies ‘reshape’, ‘plyr’ are not available for package ‘caret’
* removing ‘/home/yang/R/x86_64-pc-linux-gnu-library/2.13/caret’
...
...
**测试是否可以加载已安装的软件包
*完成(dynlm)
错误:依赖项“重塑”、“plyr”、“摘要”不可用于包“ggplot2”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/ggplot2”
错误:依赖项“摘要”、“stringr”、“mutatr”、“evaluate”不可用于包“testthat”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/testthat”
*正在安装*source*包“ROCR”。。。
**R
...
**测试是否可以加载已安装的软件包
*完成(ROCR)
错误:依赖项“plyr”、“stringr”不可用于包“Reformae2”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/reformae2”
*正在安装*源*包“参与方”。。。
**自由基
...
**测试是否可以加载已安装的软件包
*完成(缔约方)
错误:依赖项“重塑”、“plyr”不可用于包“插入符号”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/caret”
*正在安装*source*包“rocc”。。。
**R
...
*完成(rocc)
错误:依赖项“重塑2”不适用于包“Cubist”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/Cubist”
下载的软件包位于
“/tmp/Rtmp2TsElZ/下载的_包”
共有20个警告(使用warnings()查看它们)
>警告()
警告信息:
1:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“Rmpi”的安装具有非零退出状态
2:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“rpvm”的安装具有非零退出状态
3:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“rsprng”的安装具有非零退出状态
4:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“XML”的安装具有非零退出状态
5:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“RODBC”的安装具有非零退出状态
6:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“rgl”的安装具有非零退出状态
7:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“RWeka”的安装具有非零退出状态
8:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“形状”的安装具有非零退出状态
9:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“rgeos”的安装具有非零退出状态
10:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“rgdal”的安装具有非零退出状态
11:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“plyr”的安装具有非零退出状态
12:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“stringr”的安装具有非零退出状态
13:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“latentnet”的安装具有非零退出状态
14:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“重塑”的安装具有非零退出状态
15:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“statnet”的安装具有非零退出状态
16:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“ggplot2”的安装具有非零退出状态
17:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
安装具有非零退出状态的包“testthat”
18:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
包“Reformae2”的安装具有非零退出状态
19:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
程序包“插入符号”的安装具有非零退出状态
20:在install.packages(“插入符号”,dependencies=c(“依赖项”),中:
“Cubist”包的安装具有非零退出状态
>图书馆(插入符号)
库中错误(插入符号):没有名为“插入符号”的包
>sessionInfo()
R版本2.13.0(2011-04-13)
平台:x86_64-pc-linux-gnu(64位)
区域设置:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_地址=C LC_电话=C
[11] LC_测量=en_US.UTF-8 LC_识别=C
附加基本包:
[1] 统计图形GRUTILS数据集方法库
通过命名空间加载(未附加):
[1] 工具2.13.0
>install.packages('caret',dependencies=c('dependens','suggestions'))#再次运行
...
错误:依赖项“摘要”、“stringr”、“mutatr”、“evaluate”不可用于包“testthat”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/testthat”
错误:依赖项“itertools”不可用于包“plyr”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/plyr”
错误:依赖项“RWekajars”、“rJava”不可用于包“RWeka”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/RWeka”
错误:依赖项“plyr”、“stringr”不可用于包“Reformae2”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/reformae2”
错误:依赖项“plyr”不可用于包“重塑”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/reforme”
错误:依赖项“重塑2”不适用于包“Cubist”
*删除“/home/yang/R/x86_64-pc-linux-gnu-library/2.13/Cubist”
错误:依赖项“重塑”、“plyr”不可用于p