我正在完成本教程: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