简体   繁体   English

无法在R 3.3.0中安装更新Bipartite软件包?

[英]Trouble installing the update Bipartite package in R 3.3.0?

Is any solution to fix the trouble? 有任何解决方案可以解决问题吗? I am interested in to install the bipartite package from github. 我有兴趣从github安装bipartite包。 library(devtools) install_github ("carsten/bipartite") or install_github("biometry/bipartite") or even r bipartite? library(devtools) install_github ("carsten/bipartite")install_github("biometry/bipartite")甚至二分[R?

1) Go to: https://github.com/biometry/bipartite 1)转到: https//github.com/biometry/bipartite

2) Download the version you want. 2)下载所需的版本。 In this case you want the 2.08. 在这种情况下,你想要2.08。 So download the file bipartite_2.08.tar.gz . 所以下载文件bipartite_2.08.tar.gz

3) Go to R and use the command 3)转到R并使用命令

install.packages(path_to_file, repos = NULL, type="source")

The path_to_file is where the downloaded package is. path_to_file是下载的包的位置。 For example, in my case, is in the Downloads folder. 例如,在我的情况下,是在Downloads文件夹中。 So, I would do: 所以,我会这样做:

 install.packages("~/Downloads/bipartite_2.08.tar.gz", repos = NULL, type="source")

You have to install those two first. 你必须先安装这两个。 Hope it works smoothly. 希望它顺利运作。 I'll try the package today 我今天会试试这个包裹

install.packages("fields")
install.packages("sna")
install.packages("~/Downloads/bipartite_2.08.tar.gz", repos = NULL, type="source")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM