Hi,
I need to install rjags on R studio Server which is installed on Linux.
Then my costumers are using a Windows 11 to work with R Studio with a browser.
I get this error when trying to install rjags on the linux server :
installing source package ‘rjags’ ...
** package ‘rjags’ correctement décompressé et sommes MD5 vérifiées
** using staged installation
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: pkg-config file for jags 4 unavailable
configure: WARNING: Consider adding the directory containing jags.pc
configure: WARNING: to the PKG_CONFIG_PATH environment variable
configure: Attempting legacy configuration of rjags
checking for jags... no
configure: error: "automatic detection of JAGS failed. Please use pkg-config to locate the JAGS library. See the INSTALL file for details."
ERROR: configuration failed for package ‘rjags’
removing ‘/usr/lib64/R/library/rjags’
ERROR: dependency ‘rjags’ is not available for package ‘R2jags’
removing ‘/usr/lib64/R/library/R2jags’
Is there anything i should install on Windows 11 to?
Thanks alot for your help.
Anonymous
We had to install the library jags, to be back to install the packages R2jags.