Installing Error
                
                Brought to you by:
                
                    martyn_plummer
                    
                
            
            
        
        
        
    Hi I have troubles to instsall jags. I am using Rstudio.
This is the Error
library(rjags)
Error: Laden von Paket oder Namensraum für ‘rjags’: fehlgeschlagen
 .onLoad in loadNamespace() für 'rjags' fehlgeschlagen, Details:
  Aufruf: inDL(x, as.logical(local), as.logical(now), ...)
  Fehler: unable to load shared object 'Z:/Documents/Cran-R/rjags/libs/x64/rjags.dll':
  LoadLibrary failure:  Die angegebene Prozedur wurde nicht gefunden.
In addition: Warning message:
Paket ‘rjags’ wurde unter R Version 4.1.3 erstellt 
I checked the folder and everything is there so I don't know what I can do to install it.
Best,
Verena
            
  
  
    
  
            
               
        
            Anonymous
        
    
            
          
This is probably an issue with binary compatibility between, R, rjags, and JAGS. All three software components must be built with the same compiler.
If you are using R 4.2.0 or later then you need the version of JAGS compiled with the new UCRT toolchain for R (Rtools42):
https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Windows/JAGS-4.3.1.exe
If you previously installed the rjags package under R 4.1.3 or earlier, then you need to reinstall it.
If you are using R 4.1.3 or earlier then you need the older release of JAGS which is compiled with the older R tool chain (Rtools40).
https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Windows/JAGS-4.3.0.exe
and the appropriate version of rjags for your release.