未能在R中附加“treescape”包

时间:2016-03-03 13:05:54

标签: r tree binary-tree phylogeny

我按照以下方式做了:

1.install package“devtools”。

2。library(devtools)

install_github("thibautjombart/treescape")

或使用install.packages("treescape")

3。library("treescape")

然而,这个包不能附上,R给了我这样的反馈:

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :

  there is no package called ‘Luminescence’

另外:

Warning message:
package ‘treescape’ was built under R version 3.2.3 

Error: package or namespace load failed for ‘treescape’

然后我尝试安装“发光”,但反馈是:

package ‘Luminescence’ is not available (for R version 3.2.1)

然后,我将R更新到最新版本,安装并附加发光包。当我试图附加treescape时,出现了新的错误:

Error : .onLoad failed in loadNamespace() for 'rgl', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so':
  dlopen(/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so
  Reason: image not found
Error: package or namespace load failed for ‘treescape’

0 个答案:

没有答案