当前位置: 代码迷 >> 综合 >> rjags R 安装报错automatic detection of JAGS failed. Please use pkg-config to locate the JAGS library
  详细解决方案

rjags R 安装报错automatic detection of JAGS failed. Please use pkg-config to locate the JAGS library

热度:100   发布时间:2023-11-06 21:59:33.0

首先:centos 下安装jags 

下载http://download.opensuse.org/repositories/home:/cornell_vrdc/CentOS_7/x86_64/jags4-4.3.0-67.1.x86_64.rpm

sudo rpm -i jags4-4.3.0-67.1.x86_64.rpm

下载http://download.opensuse.org/repositories/home:/cornell_vrdc/CentOS_7/x86_64/jags4-devel-4.3.0-67.1.x86_64.rpm

wget http://download.opensuse.org/repositories/home:/cornell_vrdc/CentOS_7/x86_64/jags4-devel-4.3.0-67.1.x86_64.rpm

sudo rpm -i jags4-devel-4.3.0-67.1.x86_64.rpm

打开R

install.packages('rjags')

  相关解决方案