Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

morse will not load #293

Open
Pontius06 opened this issue Apr 18, 2022 · 3 comments
Open

morse will not load #293

Pontius06 opened this issue Apr 18, 2022 · 3 comments

Comments

@Pontius06
Copy link

  1. I have successfully installed, loaded and tested JAGS as follows:

if(is.element('runjags', installed.packages()[,1]) == FALSE){

  • install.packages('runjags')
    
  • }

library("runjags")
testjags()
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

  1. I installed the morse package with it dependencies but as follows:

if(is.element('morse', installed.packages()[,1]) == FALSE){

  • install.packages('morse')
    
  • }
  1. But I am unable to load more from the library. I get the error message below:

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.

  1. Any help to be able to load morse will very much be appreciated.
@sandrinecharles
Copy link
Collaborator

Hi @Pontius06 have you first installed JAGS from here: https://mcmc-jags.sourceforge.io/. If not, that maybe explain your troubles.

@Pontius06
Copy link
Author

  1. Yes I have installed JAGS, I am able to load it from library, and I am able to testrun it. (See my (1) of my original submission). I get the message below when I did the testrun:

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

  1. I installed as below:

if(is.element('morse', installed.packages()[,1]) == FALSE){

  • install.packages('morse')
    
  • }
  1. The problem is I am not able to load morse: I get the message below if I do:

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.

@virgile-baudrot
Copy link
Collaborator

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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants