找回密码
 立即注册
查看: 5226|回复: 1

安装Hmisc时出现的问题

[复制链接]
发表于 2014-8-12 23:11:35 | 显示全部楼层 |阅读模式
今天在安装Hmisc包时出现了以下错误,装了两次,都是一样的错误,看不懂,求大神帮忙啊,到底是什么原因啊?
下面是所有安装的信息,求帮忙
> install.packages("Hmisc")
also installing the dependencies ‘survival’, ‘Formula’, ‘latticeExtra’
试开URL’http://ftp.ctex.org/mirrors/CRAN ... survival_2.37-7.zip
Content type 'application/zip' length 4570668 bytes (4.4 Mb)
打开了URL
downloaded 922 Kb

试开URL’http://ftp.ctex.org/mirrors/CRAN ... 0/Formula_1.1-2.zip
Content type 'application/zip' length 160797 bytes (157 Kb)
打开了URL
downloaded 157 Kb

试开URL’http://ftp.ctex.org/mirrors/CRAN ... iceExtra_0.6-26.zip
Content type 'application/zip' length 2062014 bytes (2.0 Mb)
打开了URL
downloaded 660 Kb

试开URL’http://ftp.ctex.org/mirrors/CRAN ... .0/Hmisc_3.14-4.zip
Content type 'application/zip' length 1561702 bytes (1.5 Mb)
打开了URL
downloaded 1.5 Mb

错误于read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
  无法打开链结
此外: 警告信息:
1: In download.file(url, destfile, method, mode = "wb", ...) :
  下载的长度944432不等于报告的长度4570668
2: In download.file(url, destfile, method, mode = "wb", ...) :
  下载的长度676533不等于报告的长度2062014
3: In unzip(zipname, exdir = dest) : 从zip文件中抽取1时出了错
4: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
  无法打开压缩文件'survival/DESCRIPTION',可能是因为'No such file or directory'



另外

> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936
[2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936   
[3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936
[4] LC_NUMERIC=C                                                   
[5] LC_TIME=Chinese (Simplified)_People's Republic of China.936   

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tools_3.0.2


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|R语言中文网

GMT+8, 2024-11-25 12:36 , Processed in 0.028241 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表