Trouble loading an installed old version of rjags using compatible R and Rtools -

Viewed 9

I need to run something using rjags version 4.6. Using R 4.1.3, Rtools 40, and JAGS 4.2.0 I am able to get a "package ‘rjags’ successfully unpacked and MD5 sums checked" by installing the package from a zip file. However when I try to load it using library I get "Error in library(rjags) : ‘rjags’ is not a valid installed package". I see the package called rjags in the local library folder.

I have also tried R 4.1.2 and I have tried installing the package via devtools but get an error that includes "Console.h: No such file or directory".

Any suggestions? Thanks.

0 Answers
Related