r-causal icon indicating copy to clipboard operation
r-causal copied to clipboard

Installation issue: Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :

Open shr264 opened this issue 3 years ago • 3 comments

I am trying to run the command

tetradrunner <- tetradrunner(algoId = 'fges',df = charity,scoreId = 'fisher-z',
                             dataType = 'continuous',alpha=0.1,faithfulnessAssumed=TRUE,maxDegree=-1,verbose=TRUE, 
                             priorKnowledge = prior)

after installing rcausal as directed here:

https://github.com/bd2kccd/r-causal

But I keep getting this error:

Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.IllegalAccessException: class RJavaTools cannot access a member of class java.util.Collections$UnmodifiableCollection (in module java.base) with modifiers "public"

I have also tried installing py-causal and that gave me errors too. Has anyone gotten these packages to work correctly on R or python?

shr264 avatar Oct 13 '21 07:10 shr264