0

我正在学习本教程: https ://joey711.github.io/phyloseq/plot_ordination-examples.html

在 Ubuntu 16.04 中,每当我尝试使用其中一种排序功能时,都会遇到错误。

更新:它在 Windows 10、R 3.3.2 中对我有用

我的 Ubuntu 16.04、R 3.4.1 设置有什么问题

> GP.ord <- ordinate(GP1, "NMDS", "bray")
Square root transformation
Wisconsin double standardization
Error in .C("veg_distance", x = as.double(x), nr = N, nc = ncol(x), d = double(N *  : 
  "veg_distance" not available for .C() for package "vegan"

> ordinate(physeq = phylo)
Error in .C("data2hill", as.double(veg), mi = as.integer(nr), n = as.integer(nc),  :
  "data2hill" not available for .C() for package "vegan" 

> R.version
               _
platform       x86_64-pc-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          3
minor          4.1
year           2017
month          06
day            30
svn rev        72865
language       R
version.string R version 3.4.1 (2017-06-30)
nickname       Single Candle

> temp <- installed.packages()
> temp[rownames(temp) %in% c("phyloseq", "vegan") , ]
         Package LibPath                                        Version  Priority
phyloseq "phyloseq" "/usr/local/lib/R/site-library"                "1.19.1" NA
vegan    "vegan" "/usr/lib/R/site-library"                      "2.4-3"  NA
4

0 回答 0