簡體   English   中英

無法在R 3.3.0中安裝更新Bipartite軟件包?

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

有任何解決方案可以解決問題嗎? 我有興趣從github安裝bipartite包。 library(devtools) install_github ("carsten/bipartite")install_github("biometry/bipartite")甚至二分[R?

1)轉到: https//github.com/biometry/bipartite

2)下載所需的版本。 在這種情況下,你想要2.08。 所以下載文件bipartite_2.08.tar.gz

3)轉到R並使用命令

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

path_to_file是下載的包的位置。 例如,在我的情況下,是在Downloads文件夾中。 所以,我會這樣做:

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

你必須先安裝這兩個。 希望它順利運作。 我今天會試試這個包裹

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