包" plink"不可用

时间:2015-04-15 06:59:09

标签: r

您好 当我安装plink时,我收到了消息。 (我的3.1.3版) 在网站中,http://healthstat.snu.ac.kr/CRAN/index.html 我找不到" plink"。 我怎样才能使用" plink"? ![在此输入图像说明] [1]

1 个答案:

答案 0 :(得分:1)

您需要指定repos参数。

> install.packages("plink", repos = "http://www2.uaem.mx/r-mirror")
Installing package into ‘C:/.../R/win-library/3.1’
(as ‘lib’ is unspecified)
also installing the dependency ‘statmod’

trying URL 'http://www2.uaem.mx/r-mirror/bin/windows/contrib/3.1/statmod_1.4.17.zip'
Content type 'application/zip' length 155890 bytes (152 KB)
opened URL
downloaded 152 KB

trying URL 'http://www2.uaem.mx/r-mirror/bin/windows/contrib/3.1/plink_1.3-1.zip'
Content type 'application/zip' length 854055 bytes (834 KB)
opened URL
downloaded 834 KB

package ‘statmod’ successfully unpacked and MD5 sums checked
package ‘plink’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\...\Local\Temp\RtmpIzfu4y\downloaded_packages
> library(plink)
Loading required package: lattice