Open Pontius06 opened 2 years ago
Hi @Pontius06 have you first installed JAGS from here: https://mcmc-jags.sourceforge.io/. If not, that maybe explain your troubles.
You are using R version 4.1.3 (2022-03-10) on a windows machine, with the RStudio GUI JAGS version 4.3.1 found successfully using the command 'C:/Program Files/JAGS/JAGS-4.3.1/x64/bin/jags-terminal.exe' The rjags package is installed
if(is.element('morse', installed.packages()[,1]) == FALSE){
- install.packages('morse')
- }
library(morse) Error: package or namespace load failed for ‘morse’: .onLoad failed in loadNamespace() for 'rjags', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: unable to load shared object 'C:/Users/kojom/Documents/R/win-library/4.1/rjags/libs/x64/rjags.dll': LoadLibrary failure: The specified procedure could not be found.
It seems to be a problem on "rjags" and not on "morse". Now, this kind of message say that it's a sys admin issue.
Does rjags
load on its own?
library("rjags")
I have successfully installed, loaded and tested JAGS as follows:
I installed the morse package with it dependencies but as follows:
But I am unable to load more from the library. I get the error message below:
Any help to be able to load morse will very much be appreciated.