🔍 检索绿色通道
     1.JCR-IF查询      2.CiteScore-IF查询     3.SCI检索     4.中科院分区查询     5.SSCI检索     6.AHCI检索     7.ESCI检索(新增)     8.EI检索     9.EI检索备用     10.ISTP/CPCI检索备用(新增)      11.梅斯期刊智能查询     12.CSCD检索     13.CSSCI检索     14.北大核心检索      15.国自然官方查询     16.国自然梅斯查询     17.国自然科学网查询     18.论文被检索情况查询方法

安装运行SIBER(in SIAR)时,如何解决 Error: not a matrix


(本文于 2016-5-30 22:09 首发于 “科学网”)
原创博文,谢绝转载 2017/10/05 updated 温馨提示:请确保您的 R软件(及R相关软件)安装的系统盘(e.g., C盘),这点十分重要!

【SIBER (SIAR package) in R:物种生态位重复度计算】的博文请点击下面的网址:

http://meiweiping.cn/SIBER%20(SIAR-package)-in-R%EF%BC%9A%E7%89%A9%E7%A7%8D%E7%94%9F%E6%80%81%E4%BD%8D%E9%87%8D%E5%A4%8D%E5%BA%A6%E8%AE%A1%E7%AE%97/

When tring SIBER (in SIAR) , however after entering the following codes:

1
SEA.B <- siber.ellipses(dC,dN,group,R=reps)

error occured as:

1
Error: not a matrix

Eventhough try the following method, it does not worked.

1.Updated packages.

2.Updated R.

3.Delete R and reinstalled.


Anyway, now show you the solved method briefly:

Step 1.

Install the lastest “Rtools33.exe” into your computer(e.g., C: disk) from website:

https://cran.r-project.org/bin/windows/Rtools/

(所安装的Rtools版本号和 R软件的版本号是否对应正确,见下图)

比如Rtools33.exe对应的R软件版本就是R3.2.x-3.3.x.PNG

安装 Rtools34.exe的网友请另外注意:

Change History of Rtools34.exe

Changes since R 3.3.0

The version number has been updated to 3.4.x.y.

Support for the gcc 4.6.3 toolchain has been dropped.

We have updated Tcl/TK to version 8.6.4. If you are using Rtools34 to build R 3.3.x, you will need to change

TCL_VERSION = 85

to

TCL_VERSION = 86

in R_HOME/src/gnuwin32/fixed/etc/Makeconf.

It’s a pity that the software is not working on Mac.

Step 2.

Run some codes like below in R or Rstudio:

1
2
3
4
5
library(devtools)
install_github("andrewljackson/siar@master", build_vingettes = TRUE)
library(siar)

Yeah,now it can work properly, right? OK, you can you try it.



FAQ

1. 2017-3-28 23:07

Following my recent post about SIBER being broken by spatstat’s new structure, if anyone is still using SIAR you will also need to update to the development version on github:

1
devtools::install_github("andrewljackson/siar", build_vingettes == TRUE)

2. 2017-03-28 20:18

Important SIBER news.

A major change to the package spatstat on which SIBER depends has broken my new version of SIBER that i just uploaded to CRAN. I will not be able to get a new version up for a few weeks, so in the meantime, please install the development branch directly from github using the code below. More details available at

https://github.com/AndrewLJackson/SIBER/blob/master/NEWS.md

1
2
3
4
5
6
# install.packages("devtools") # install if necessary
devtools::install_github("andrewljackson/SIBER",
build_vingettes = TRUE)
library(SIBER)


<已有 次阅读>


由于本文作者水平有限,文中如有错误之处,欢迎大家批评指正!

① 本文仅代表作者个人观点,不代表任何其它立场,欢迎交流合作!

② 转载与分享请注明:本文源于为学为研网 http://meiweiping.cn

(>看完记得五星好评哦亲<)

分享到:
    友情链接
    e教学: 蓝墨云班课     传课网     慕课网     作业帮
    BBS: 小木虫     丁香园     科学网bbs     零点花园     数据狗论坛     ResearchGate
    预印本: 中国科技论文在线(教育部)     ChinaXiv(中科院)     bioRxiv(冷泉港)     arXiv(康奈尔大学)
    科研资讯: 科学网   科学之家     51science     Publons     J-STAGE     日本の研究
    信息查询: 中国研究生招生信息网     学信网(学历查询)     中国人事考试网     更多>>
    网站建设: Hexo     极简图床     sm.ms     html-unicode     UTF-8转码     颜色代码
    关于本站: 关于我们      Logo含义      广告合作      免责声明      联系我们      RSS订阅