【R问题记录】epicalc程序包:package ‘epicalc’ is not available for this version of R

报错记录:

Warning in install.packages :
package ‘epicalc’ is not available for this version of R
A version of this package for your version of R might be available
elsewhere, see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

报错原因:

Epicalc已从 CRAN 存储库中删除,并且似乎被替换为 epiDisplay.

‘epicalc’ has disappeared from CRAN. It has been archived by R-core team based on my request. The reason is that CRAN has set up a policy not to allow any package to do anything on .GlobalEnv while epicalc does that extensively. 1

关于 epicalc 和 epiDisplay:

For those who are familiar with epicalc, without these database functions, you need to get back to usual plain R functions. That will slow you down substantially, especially during the data cleaning and manipulation. I recommend that you should install epicalc from our website (as shown above) and don’t borther about ‘epiDisplay’ For R users who have never used epicalc and do not want to learn epicalc database functions, ‘epiDisplay’ is straightforward and should still be very useful in data exploration and result display.

Epicalc安装方法:

Epicalc程序包在R中的安装方法:

# Download package tarball from CRAN archive and install Epicalc
download.file(url = "http://cran.r-project.org/src/contrib/Archive/epicalc/epicalc_2.15.1.0.tar.gz", destfile = "epicalc_2.15.1.0.tar.gz")
install.packages(pkgs="epicalc_2.15.1.0.tar.gz", type="source", repos=NULL)
unlink("epicalc_2.15.1.0.tar.gz")

  1. http://stackoverflow.com/questions/32316360/why-was-package-epicalc-removed-from-cran ↩︎

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值