https://github.com/randel/MIND 下载code,下载下来是MIND-master.zip,本地R安装要求严格是“MIND-master.tar.gz”
格式转化:
# 如果机器上有 git:
cd /public/home/chidm/Downloads
git clone https://github.com/randel/MIND.git
cd MIND# 构建为标准源包(会生成 MIND_*.tar.gz)
R CMD build .# 安装
R CMD INSTALL MIND_*.tar.gz##或回到 R 里:
install.packages("/public/home/chidm/Downloads/MIND/MIND_*.tar.gz",repos = NULL, type = "source")